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: Mapping Same Table
PostPosted: Thu Dec 30, 2004 12:19 pm 
Newbie

Joined: Sun Aug 15, 2004 2:52 pm
Posts: 4
Hibernate version:
1.6
Mapping documents:
no
Code between sessionFactory.openSession() and session.close():
no
Full stack trace of any exception that occurs:
no
Name and version of the database you are using:
Oracle 9i
The generated SQL (show_sql=true):
no
Debug level Hibernate log excerpt:
no

Hi , İs it possible to map two Different Classess to same Table?
for example , I have a CV table.
I have CV Class and EducationInfo and Education classs.
in CV table : CVID, name , surname, educationLevel
i education table contains education lines such as high school, university as a different line and mapped by Education Class and EducationInfo contains Education Set.
and also educationLevel of CV table.
Cv class have EducationInfo Class as a property.
How can I map these 3 classes two tables.
must I use component mapping?

but I wany to use CV class without loding EducationInfo Class, lazy loading..


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.