简体   繁体   English

使用带有jpa的相同模式将NetBeans平台应用程序连接到不同的DBMS

[英]Connecting a NetBeans Platform Application to diffrent DBMS using the same schema with jpa

I need to make an application where the user can configure some connection parameters like server and DBMS (specifically MySQL, MSSQL and Oracle). 我需要创建一个应用程序,用户可以在其中配置一些连接参数,例如服务器和DBMS(特别是MySQL,MSSQL和Oracle)。 As long as the database schema is the same, but not the server in order to use the servers already working in the client's intranet, I'm trying to find a way to force jpa use the parameters set by the user and make the transaction. 只要数据库架构是相同的,但不是服务器,为了使用已经在客户端的Intranet中工作的服务器,我就试图找到一种方法来强制jpa使用用户设置的参数并进行事务。 Any idea? 任何想法?

使用属性文件包含有关数据库,用户名和密码的信息,这些信息将根据d进行更改

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM