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,