开发者

How to manage datasources with netbeans?

开发者 https://www.devze.com 2023-03-01 10:56 出处:网络
Hi I would开发者_开发知识库 like to point my current datasource to a new server the only change is address because I have exported my current db to my new one. So I just need to change this. I am usin

Hi I would开发者_开发知识库 like to point my current datasource to a new server the only change is address because I have exported my current db to my new one. So I just need to change this. I am using netbeans 6.8 with glassfish 3 (JSF 2.0).

Thank you very much Best Reagrds Ignacio.


For the database connections you use in Netbeans

Tab services, click open item Databases, rightclick your database connection and select properties. You can change the server address there.

For database connections that were deployed to Glassfish

In the Glassfish admin console, go to Resources, JDBC datapools and change the server connection settings to the new remote server.

For database connection definitions deployed by the project In your Enterprise project, select server resources. The database connection definition should be there. Edit to reflect the new situation and redeploy your project.

0

精彩评论

暂无评论...
验证码 换一张
取 消