-->
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: mapping of composite nested key
PostPosted: Tue Sep 15, 2009 6:27 am 
Newbie

Joined: Tue Sep 15, 2009 6:14 am
Posts: 1
Hi,

I am working with legacy database with nhibernate (but assume the solution will be very similar as in hibernate) and we have nested composite keys, what I mean is following, our keys have this structure (this is pseudo c# syntax):

class PartnerKey
{
Public Int PartnerNr
}
Class TaxArtKey
{
Public String TaxArt
}
Class PartnerTaxArtKey
{
Public TaxArtKey TaxArt;
Public PartnerKey Partner;
}

by using composite-id i can do mpaping for first level of the keys but is it possible to it for other levels such us PartnerTaxArtKey.

thanks
almir


Top
 Profile  
 
 Post subject: Re: mapping of composite nested key
PostPosted: Tue Sep 15, 2009 7:16 am 
Newbie

Joined: Tue Sep 15, 2009 7:10 am
Posts: 1
Location: USA
Hi........................
I am new in this site so i don't know more in this matter if you can send me a more information in this so i will wish you.
Thanks.

_________________
Colon Cleanse 3000

The Ab Rocket
http://ezinearticles.com/?Colon-Cleanse ... id=2919030


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.