-->
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: Need to use <generator> tag in <composite-id>
PostPosted: Wed Oct 08, 2008 7:34 am 
Newbie

Joined: Tue Sep 16, 2008 2:48 am
Posts: 4
HI..

I am trying to use <generator> tag in <composite-id>. As per the hibernate 3.0 DTD, <generator> tag is not allowed in <composite-id>. Is there any work around or other way to achive this? My primary goal is to call a sequence to generate the id(which is in composite-id). on a column.

Please suggest me in this regard. Thanks in advance.


Regards
Manjunath


Top
 Profile  
 
 Post subject: i need to make sequence in hibernate with composite id
PostPosted: Thu Nov 06, 2008 3:43 am 
Newbie

Joined: Thu Nov 06, 2008 2:19 am
Posts: 2
hi ,
i have the same problem if you got the solution plz let me know
i need to make sequence in hibernate in format DDMMYYLPAD(99999) with composite ID

thanks


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.