[jboss-user] [JBoss Seam] - Dynamic user for database connection

nickarls do-not-reply at jboss.com
Wed Aug 15 04:19:01 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=4074301#4074301

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



More information about the jboss-user mailing list