Home  >  Article  >  Java  >  Java web application pointing to native SAP HANA

Java web application pointing to native SAP HANA

WBOY
WBOYforward
2023-08-25 14:37:05709browse

指向本地SAP HANA的Java Web应用程序

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!

Statement:
This article is reproduced at:tutorialspoint.com. If there is any infringement, please contact admin@php.cn delete