• Post Reply Bookmark Topic Watch Topic
  • New Topic

How exactly synonyms work in hibernate

 
kishore dunga
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have two different schemas , i need to refer a primary key of the table from another table in another schema ,
how do i do that ,its oracle database. how exactly hibernate loads the table from another schema

Thanks
Kishore
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is nothing to do with Hibernate. You need to swap connections to change schemas, which will require two session factories.
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!