0 Replies Latest reply on Feb 7, 2018 4:55 AM by Mani81

    How to dynamically switch datasources used by Toplink JPA ?


      We have a requirement to specify the datasources to be used by JPA dynamically at runtime. The customer would like to use different DB services for the same instance where the DB services will leverage Oracle DB resource management capabilities and different API calls that use JPA underneath is expected to provide different service levels based on the datasource configured for the API. How can we achieve that in JPA/Toplink ?