[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - A way to get all the persistence units names with EJB 3.0 ?

olvin do-not-reply at jboss.com
Fri Feb 16 08:05:41 EST 2007


Hello, 

Is there a way to get all the persistence units names installed in JBoss 4.0.5 ? 

So, I have put this in my persistence.xml for all persistence units to add JNDI references to the persistence units : 
"" 

But in a session bean, how can i get all the persistence units names without knowing them ? 

Thanks, 

Olv

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

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



More information about the jboss-user mailing list