Thanks for your reply.

We use a similar solution for now: deploying a fix number of PUs through 
persistence.xml and selecting the correct one at runtime through (Jboss 
specific) JNDI lookup: 
jndi.lookup( "java:/EntityManagers/" + currentClient);

(an Interceptor would have been be a solution too, but we have some kind of 
context object including user, current locale, PU ... in every call anyway).

If you will find a solution for the programmatic configuration of em, it would 
be great you could share the details here! Thanks in advance!

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

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


_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to