Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to create hibernate View dynamically from two tables which are across the schema?

 
Milind Bharambe
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to create hibernate view between two tables which are in different schema. I am using entity_mode as dynamic-map, so all my operations are based on Map.

I have two different hibernate session objects of the two schemas, Now I want to generate View for the two tables each from one schema. I am using MySQL, java.

Is this possible in hibernate? If yes then how can I achieve this?
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
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!