[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Dynamically add persistence units

calidoggg do-not-reply at jboss.com
Thu Aug 16 14:17:37 EDT 2007


Is there a way to dynamically add or remove persistence units dynamically from the persistence.xml file? My application is built on top of a system that lets end-users add or remove databases dynamically so there can theoretically be an infinite amount of datasources and persistence units.  The datasources would need to be created dynamically as well on JBoss.  

I have not found any kind of feasible way of doing this using the persistence layer. Please advise. 

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

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



More information about the jboss-user mailing list