Is there any way of programmatically configuring the JDBC connection associated 
with a persistence unit? Specifically the username and password.

I would like to use EJB3 entities in a client application and the user login is 
the login to the database.

I thought about dynamically binding a Datasource into JNDI under the name in 
persistence-unit.xml but can't see a way of doing this.

Many thanks.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042810#4042810

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042810
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to