Comments (12)
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.
Hi @Unforgettable631 ,
Yeah I missed that and changed to jdbc but still having an error. Says that,
May i ask where did you put the driver? Thanks.
from jdbcslim.
from jdbcslim.
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.
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.
Hi @Unforgettable631,
Can you confirm if I'm using the correct port based on the attached images?
from jdbcslim.
Hi @Unforgettable631 ,
I tried to change the port number with 30013 and I got this sql exception, what does it means?
from jdbcslim.
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.
Just login in SAP Hana Studio with the same config/credentials and it passes through.
from jdbcslim.
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.
I'm using incorrect port. Managed to work it out. Thanks for helping me out. :)
from jdbcslim.
Glad you got it working now. I know setup can take a bit of time, especially SAP HANA db.
from jdbcslim.
Related Issues (20)
- Add method to do simple single query
- Issues integrating JDBC Slim into FitNesse HOT 2
- `getRowCount()` should return 0 if first non-header row does not have values HOT 1
- List version 1.2.1 as release on GitHub HOT 2
- Jdbcslim tests are failing on the H2 driver when using maven HOT 9
- result should be empty (no records)
- SQLCommand - dbExecute:Method not supported HOT 2
- Problem to use SQLCommand HOT 1
- Surplus and Missing rows not reported HOT 2
- Empty row when no records returned in Table:SQLCommand HOT 5
- JdbcSlim not working with CsvDriver
- Show / use resultsheet without header columns HOT 2
- SQLCommand ends in IndexOutOfBoundsException HOT 5
- Trouble with installation regarding root page and suite setup page HOT 3
- JDBC slim with cassandra
- hi Is,this jdbslim support connect hive?
- I'd like a select where you can store the returned value of a cell in a variable HOT 2
- SQLServer binary data column when queried value misses 0x prefix HOT 5
- [CI/CD pipeline] java.lang.Exception: java.lang.RuntimeException: decrypt of *** failed. Wrong Key Store used? HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jdbcslim.