Java Web application pointing to SAP HANA locally


You would require changing the connection.properties file of your local Tomcat Server (Server > Java Web Tomcat 8 Server-config/config_master/connection_data), to point to the HANA database.

Here are the usual parameters that need to be configured for HANA database

javax.persistence.jdbc.driver = com.sap.db.jdbc.Driver
javax.persistence.jdbc.url = jdbc:sap://<host>:<port>/?reconnect=true&autocommit=false
javax.persistence.jdbc.user = db-user
javax.persistence.jdbc.password = db-pass
eclipselink.target-database = HANA

Sai Subramanyam
Sai Subramanyam

Passionate, Curious and Enthusiastic.

Updated on: 30-Jul-2019

183 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements