-->
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: help: xdoclet and composite id
PostPosted: Mon Feb 16, 2004 3:23 am 
Newbie

Joined: Mon Feb 16, 2004 3:03 am
Posts: 7
I'm using xdoclet to generate mapping file, how to use it to generate composite id? I searched for a while, but not found the exact what I want.
Please help me.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 16, 2004 3:45 am 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
AFAIK, xdoclet can generate composite-id using PK class. But I've never tried that

_________________
Emmanuel


Top
 Profile  
 
 Post subject: there's no pk class, use which tag can generate...
PostPosted: Mon Feb 16, 2004 4:07 am 
Newbie

Joined: Mon Feb 16, 2004 3:03 am
Posts: 7
use which tag can generate composite-id? any example?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 16, 2004 8:47 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 7:19 pm
Posts: 2364
Location: Brisbane, Australia
It only (currently) implemented when the you use an external PK class. In this case all you need to do is to have the approripate property tags within the PK class itself. These properties are used to fill in the composite entries of the mapping document generated.


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:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.