-->
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: Create a class that´s an id generator
PostPosted: Fri Oct 28, 2005 9:43 pm 
Beginner
Beginner

Joined: Mon Oct 03, 2005 5:13 pm
Posts: 30
Any help I would appreciate. I´m trying to adapt the implementation of the Hilo.


Top
 Profile  
 
 Post subject: just guessing
PostPosted: Sun Oct 30, 2005 1:45 pm 
Expert
Expert

Joined: Fri Jul 22, 2005 2:42 pm
Posts: 670
Location: Seattle, WA
I guess that you are trying to create your implementation of ID generator based on HILO approach:
http://www.hibernate.org/hib_docs/v3/re ... -generator
Then implement interface org.hibernate.id.IdentifierGenerator in your class and look at the sources of org.hibernate.id.TableHiLoGenerator for inspiration.

_________________
--------------
Konstantin

SourceLabs - dependable OpenSource systems


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.