-->
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: Question about deep narrow hierarchy mapping.
PostPosted: Thu Jul 12, 2007 12:21 am 
Newbie

Joined: Mon May 14, 2007 12:13 pm
Posts: 8
Hibernate Version 3.2.3:


What would be an efficient way to map the following hierarchy.


Code:
class AbstractType {

  private String value;

};

class AType extends AbstractType {
    private CType c1,c2,c3;
};


class BType extends AbstractType {
   
   private AType a1,a2,a3;
};

class CType extends AbstractType {

   private BType b1,b2,b3;


};



Thanks in advance.


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.