Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

connecting HANA using JDBC

Hi All,

I am trying connecting HANA using JDBC. My HANA instance is on "SAP HANA cloud platform" (freeware for trial).

To connect hana instance using eclipse I used landscape host as https://hanatrial.ondemand.com

What should I put in below connection information for <YOUR SAP HANA IP> ?

java.sql.Connection conn= java.sql.DriverManager.getConnection("jdbc:sap://<YOUR SAP HANA IP>:30015","<YOUR SAP HANA USER>","<YOUR PASSWORD>");

I tried giving jdbc:sap://hanatrial.ondemand.com:30015, however not succeeded to connect.

Regards,

Sagar.

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question