Syntax error Java Web application pointing to SAP HANA locally

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
Updated on: 2019-07-30T22:30:20+05:30

296 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements