Quantcast
Channel: SCN: Message List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 9165

Re: How to connect to My HDB Server using JDBC

$
0
0

Hi Florian Pfeffer,

 

 

Thank you very much. Your previous suggestion was very valid and useful for me. Thanks again. Now i am able to establish the connection locally after opening the Database Tunnel. But my requirement is to connect to the database remotely from the java Servlet application which is hosted on my HANA server. So i need to establish the connection from there. If i need to do there what should i do?

 

 

And, in the following statement i am able to connect to some dummy table. I need to connect to the specific schema. I have database name and schema or package name separately.

 

 

connection = DriverManager.getConnection("jdbc:sap://xx.xxx.xxx.xxx:30015/","SAP PID as user name","SAP DB Password");

 


Viewing all articles
Browse latest Browse all 9165

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>