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");
