You need to change 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.
The following are common parameters that need to be configured for the 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
The above is the detailed content of Java web application pointing to native SAP HANA. For more information, please follow other related articles on the PHP Chinese website!