-->
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.  [ 4 posts ] 
Author Message
 Post subject: How to implement flexible relationship between PO and table
PostPosted: Thu Sep 18, 2003 11:01 am 
Newbie

Joined: Thu Sep 18, 2003 10:52 am
Posts: 4
Hello, all

It is easy to map one PO to one table. I tried to use component, it could work that manyPO can be mapped to one table, which is great!

However, I am not sure how to map one PO to many tables.

Can anybody help me please?

Thanks a lot

Bruce1


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 18, 2003 5:06 pm 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
I think you're asking for (the future) hibernate 2.2 feature with <join> element
see http://www.hibernate.org/44.html

A one-to-one mapping (need another PO) might be helpful.

Reasons leading you to put related datas into several tables might lead you to put datas into several objets.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 18, 2003 8:36 pm 
Newbie

Joined: Thu Sep 18, 2003 10:52 am
Posts: 4
So I should wait for the coming version, right?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 19, 2003 5:15 am 
Hibernate Team
Hibernate Team

Joined: Mon Aug 25, 2003 9:11 pm
Posts: 4592
Location: Switzerland
Yes.

_________________
JAVA PERSISTENCE WITH HIBERNATE
http://jpwh.org
Get the book, training, and consulting for your Hibernate team.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 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:
cron
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.