This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Object Relational Mapping and the fly likes Multiple Schemas Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Multiple Schemas" Watch "Multiple Schemas" New topic

Multiple Schemas

jyothsna vamsi

Joined: Jun 08, 2007
Posts: 2
Hi, i would like to know how to connect to multiple schemas using hibernate.
i have one default schema with session factory. i would like to access diffrent schema without creating another session facotry.

Please post your views.


Edvins Reisons
Ranch Hand

Joined: Dec 11, 2006
Posts: 364
See the Hibernate SessionFactory configuration reference, especially
"User provided JDBC connection".
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Multiple Schemas
It's not a secret anymore!