-->
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.  [ 2 posts ] 
Author Message
 Post subject: Restriction doubt
PostPosted: Tue Dec 02, 2008 6:29 am 
Newbie

Joined: Mon Dec 10, 2007 6:29 am
Posts: 8
Hello!!

I've a doubt. I want to get a list of entities called "X" that were relacionated with another entities called "Y". These two entities have a relation N:M so ... how I could do this?

In the entity X has an LAZY list that references the entities "Y". Somebody knows how I could do this? I've been looking the method sqlRestriction in the API but I don't understand it so much.

Thanks

Regards,


Top
 Profile  
 
 Post subject:
PostPosted: Tue Dec 09, 2008 5:25 pm 
Newbie

Joined: Tue Dec 09, 2008 4:56 pm
Posts: 6
Are you able to be a big more specific about your domain relationships? I'm not sure I understood it.


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

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.