-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: apply join fetch entity from another entity mapped by a view
PostPosted: Wed Apr 24, 2013 9:25 am 
Newbie

Joined: Wed Apr 24, 2013 8:47 am
Posts: 1
I am working on a application that is a child application of another application.my application has a independent database .the tables in my application will be using some data from parent application database.for that purpose i have used views based on joins from parent database table.I am using Hibernate 4,spring 3.2 backened at mysql.
In the sub application i have mapped the entity for view.
This view will be used by other entities as for join fetch ,lazy loading which is a troublesome. As far i know join fetch is applied for entities with child parent relationships.
can we apply such relationships with views.
"Moreover we cannot refer a view in a foreign key"...
I am not able to draw a conclusion as I am new to hibernate.
Please help me find a solution asap.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.