Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Spring Framework + JPA and many database schemas

 
Joao Zava
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need to work with database schemas dynamically.

When a user will logging in the system, he will select an option that will say the schema that I need to use.

I'm using Spring + JPA

I have a pesistence.xml and my Spring configuration is:




Anybody know how I do it?

Sorry by english and many thanks.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic