I have an application that use multiple datasources (at runtime, for the same entities, the application will decide which datasource to use depending some end user info). Is it possible for me to use EJB 3 to dynamically set the persistence context? Can you please tell me how? Can I still use container managed persistence context?
thanks for your help,
Jack
ongoing discussion here with no real solution (for me) so far. see for example:
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948032