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: Hibernate join
PostPosted: Thu Aug 20, 2009 8:49 am 
Newbie

Joined: Wed Sep 24, 2008 8:17 am
Posts: 1
Hi,

I'm trying to make a join using criteria, but have a issues..

Let's say that i have a class A with a subclass B, and a class C that have a collection of A's

How do i get all B's in C's collection ?

Br, Soren

_________________
Soren Mathiasen
Schantz Data A/S


Top
 Profile  
 
 Post subject: Re: Hibernate join
PostPosted: Fri Aug 21, 2009 12:16 pm 
Beginner
Beginner

Joined: Wed Sep 06, 2006 12:08 pm
Posts: 48
Location: Warsaw - Poland - Europe - Milky Way
Did you tried to use collections' filtering?

http://docs.jboss.org/hibernate/stable/core/reference/en/html_single/#objectstate-filtering

Take care,
Adam Wozniak


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.