-->
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.  [ 3 posts ] 
Author Message
 Post subject: General Question relative to classes and hierachy
PostPosted: Fri Sep 03, 2004 9:11 am 
Newbie

Joined: Fri Sep 03, 2004 8:57 am
Posts: 3
Hibernate version:2.1.6

Hi all,

I have a mother class A with attributes which has a daughter class B without any attibute. The class B has also a daughter class C which defines attributes.
Is there anyone who can give the way to map this case?
Of course it should be not interesting to have more than 2 tables in database (one table for A and one for B).

Thanks in advance.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 03, 2004 9:12 am 
Hibernate Team
Hibernate Team

Joined: Thu Dec 18, 2003 9:55 am
Posts: 1977
Location: France
http://www.hibernate.org/hib_docs/refer ... nheritance

_________________
Anthony,
Get value thanks to your skills: http://www.redhat.com/certification


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 03, 2004 9:28 am 
Newbie

Joined: Fri Sep 03, 2004 8:57 am
Posts: 3
I'm sorry but I didn't find the answer to my question. The ref gives a simple example with two classes : a mother class and and a daughter class.
In my case, I have a granddaughter class knowing that the daughter class is empty.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 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.