Giter Club home page Giter Club logo

Comments (12)

Unforgettable631 avatar Unforgettable631 commented on September 17, 2024

Is your db url correct? It looks like it starts with ‘dbc’ instead of ‘jdbc’?

What kind of error shows up if you click on ‘Execution Log’ (green button at the top of the page)?

You can also get more info adding |debug|true| in your defined properties.

It should be possible to connect to sap Hana with jdbcSlim, we did put the driver from the supplier (coming with the installation of SAP Hana) on our classpath.

from jdbcslim.

ybermejo avatar ybermejo commented on September 17, 2024

Hi @Unforgettable631 ,

Yeah I missed that and changed to jdbc but still having an error. Says that,
image

May i ask where did you put the driver? Thanks.

from jdbcslim.

Unforgettable631 avatar Unforgettable631 commented on September 17, 2024

from jdbcslim.

ybermejo avatar ybermejo commented on September 17, 2024

Hi @Unforgettable631 ,

Can you elaborate this? Sorry I'am new to this.

Sure, we’ve put all local jars to a lib folder and added that directory
into our classpath. All dependency jars (coming via Maven central) are
placed in the fixture folder defined in a pom file.

I'm using correct credentials.
Version: 1.00.122.04.1478575636
Using tenant

from jdbcslim.

Unforgettable631 avatar Unforgettable631 commented on September 17, 2024

Sure, but as I mentioned that Will take Some while. But I think it has something to do with your portnumber (also based on the error you get).

Are you using the right instance number (by default the hana cliënt uses 30015, Then the system db should listen to that port as well. For tenants it’s 30013. But connection from an other tool such as dbvisualizer or in this case FitNesse, an instance number is probably missing.) The instance number is placed at the zero’s, f.e. If you have portnumber 31013 then 10 is your instancenumber.

Can you check if the portnumber is correct? You are getting sql exception -813 right?

from jdbcslim.

ybermejo avatar ybermejo commented on September 17, 2024

Hi @Unforgettable631,
Can you confirm if I'm using the correct port based on the attached images?
image

from jdbcslim.

ybermejo avatar ybermejo commented on September 17, 2024

Hi @Unforgettable631 ,

I tried to change the port number with 30013 and I got this sql exception, what does it means?
image

from jdbcslim.

Unforgettable631 avatar Unforgettable631 commented on September 17, 2024

I can’t load the images unfortunately due to bad WiFi connection. Can you try connecting with the Same configuration via dbvisualizer or so? Please let me know if you can connect via an other tool Then sap hana cliënt.

Just in case, you are using a user/ password right?

from jdbcslim.

ybermejo avatar ybermejo commented on September 17, 2024

Just login in SAP Hana Studio with the same config/credentials and it passes through.

from jdbcslim.

Unforgettable631 avatar Unforgettable631 commented on September 17, 2024

Yes, sap hana cliënt will automatically redirect you to the configured in-/outbound Ports for your usage.

Please try to connect with an other tool instead of the sap hana cliënt (such as dbvisualizer or so). Then we can confirm the settings are correct (see also https://www.sap.com/developer/tutorials/hxe-connect-hxe-using-jdbc.html specific the information about port Numbers with MDC).

from jdbcslim.

ybermejo avatar ybermejo commented on September 17, 2024

Hi @Unforgettable631,

I'm using incorrect port. Managed to work it out. Thanks for helping me out. :)

from jdbcslim.

Unforgettable631 avatar Unforgettable631 commented on September 17, 2024

Glad you got it working now. I know setup can take a bit of time, especially SAP HANA db.

from jdbcslim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.