-->
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.  [ 2 posts ] 
Author Message
 Post subject: many to many relationship with additional fields
PostPosted: Wed May 17, 2006 7:13 pm 
Newbie

Joined: Wed May 17, 2006 7:06 pm
Posts: 3
Hi,

I am glad that nhibernate comes to .NET. I have minimize my coding time because of the luxury of not having to handle DAL logic myself:).

I have a scenario in which i am stuck right now. I have a many to many relationship tables that have additional fields in this table. Is there any way to be able to save/delete/update/retrieve data from this table?

this is the scenario that i can think of right now...

order
orderID
ordername

categoryid
categoryid
categoryname

ordercategories(many to many table)
categoryid
orderid
lastmodifiedtime
lastmodifiedby


Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 17, 2006 7:28 pm 
Regular
Regular

Joined: Fri Jul 29, 2005 9:46 am
Posts: 101
Have you read:
7.4. Components as composite identifiers
http://www.hibernate.org/hib_docs/nhibe ... ompositeid
?


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