Home > Java > javaTutorial > body text

Java web application pointing to native SAP HANA

WBOY
Release: 2023-08-25 14:37:05
forward
713 people have browsed it

指向本地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
Copy after login

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!

source:tutorialspoint.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template