0

I'm working with java ee7 and glassfish 4 or wildfly 8.0.1.

In an application I need to change database at runtime.

For example I need to switch from mydb2014 to mydb2015 based on user choice.

Number, name of database, access credentials, host and rdbms will be dynamic, so it's not possible to instantiate at deploy all possible persistence units.

Is there any way to achieve this goal taking advantage of CMT?

assistbss
  • 527
  • 7
  • 25

0 Answers0