-->
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: Using setWhere on a collection of entities with Inheritence
PostPosted: Tue Feb 08, 2005 9:41 am 
Newbie

Joined: Mon Dec 13, 2004 4:37 am
Posts: 8
Hibernate 2.1.7

I have three classes Person, Worker and Factory. The Worker class is a sub class of the Person class, and is mapped using a joined sublclass mapping option. The Factory class contains a collection of Workers. On this collection I want to add a where condition that access the columns in the Person table. How do I do this, since the columns available to the where clause are only the columns from the Worker table.


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.