[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Dynamic database user?

nickarls do-not-reply at jboss.com
Wed Aug 15 05:55:22 EDT 2007


Hi, 

  There is the DataSource.getConnection(username, password) but when using JPA, is there any way of doing a run-time change of the database user? 

  EntityManagerFactory has a setPersistenceUnitProperties(Map) but that is probably at too high a level(?) 
 


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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4074344



More information about the jboss-user mailing list