This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes Spring Framework + JPA and many database schemas Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Reply Bookmark "Spring Framework + JPA and many database schemas" Watch "Spring Framework + JPA and many database schemas" New topic
Author

Spring Framework + JPA and many database schemas

Joao Zava
Greenhorn

Joined: Aug 12, 2008
Posts: 3
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.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Spring Framework + JPA and many database schemas
 
Similar Threads
com.sybase.jdbc2.SybConnection: SET CHAINED command not allowed within multi-statement transaction
Generic DAO using Spring
Spring Javamelody
Spring DAO and applicationConfig
Problem with database timeout using Hibernate