-->
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: Loading subclass when suppose to load superclass
PostPosted: Thu Jun 10, 2004 8:36 pm 
Beginner
Beginner

Joined: Thu Oct 23, 2003 1:43 pm
Posts: 23
Hi,

I have Class A and Class B that extends Class A. Both of them have its own hbm mapping file. Mapping A contains a very big collection of object graph but mapping B is a flat one. Both A and B points to the same table.

The problem is when I try to load A from the database, hibernate is loading B rather A and thus not getting my whole object graph. Please help

version: hibernate 2.0
Daatabase: Oracle 9i

Thanks
Raghu


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.