-->
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: Problem to Get Fields From LinkedTable in Many2Many mapping.
PostPosted: Wed Sep 28, 2005 9:39 am 
Newbie

Joined: Thu Aug 25, 2005 3:14 am
Posts: 19
Hi All!

I have 2 classes (Product and Customer )with relation n..m between them. In DB this relation resolving with additional table (linked table)
Code:
Orders
(
  Id,
  CustomerId,
  ProductId,
  OrderDate,
  Quantity,
  Price
)

But I can't understand how i can get additition fields from Orders table: Quantity, Price etc.

Help me with this part of mapping. Or may be get URL where described similar to my problem.
Sorry 4 my English i just study it. :oops:

_________________
------------------------------
NETDigitally yours Jericho


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 28, 2005 9:57 am 
Senior
Senior

Joined: Wed Jun 15, 2005 4:17 am
Posts: 156
I'm not sure what your problem is. Post your classes and your mapping files.
Anyway I urge you to read the documentation for NHibernate and Hibernate

Regards,
Radu


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.