• 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic