-->
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: how to have <id name= .... /> without generator class?
PostPosted: Tue Feb 07, 2006 9:14 am 
Newbie

Joined: Mon Jul 11, 2005 8:34 am
Posts: 12
Hi! I want to have this primary key mapping(id) but I don't want any generator for it. I want to assign the value myself before it gets inserted/updated. How do I do that? I tried generator class="native" generator class="assigned" but it doesn't work. If I omit the generator tag then I get an error for that hbm.xml file when it's read. Thanks in advance!


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 07, 2006 9:57 am 
CGLIB Developer
CGLIB Developer

Joined: Thu Aug 28, 2003 1:44 pm
Posts: 1217
Location: Vilnius, Lithuania
class="assigned"


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.