-->
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.  [ 3 posts ] 
Author Message
 Post subject: primary key generator on clustered environment
PostPosted: Mon May 09, 2005 1:26 am 
Regular
Regular

Joined: Tue Nov 09, 2004 5:15 pm
Posts: 100
Hello everyone,

We'll be using Hibernate 3 on JBoss clustered environment. I would like some help in deciding which generator-class should be used for such environment. We'll be using Oracle 9i for now and soon migrate to Oracle 10g. If we use "increment", i think it'll fail in the clustered environment. So could someone please give me some directions on what is the best solution in our case?.


Thanks for any input in advance!


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 09, 2005 5:52 am 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
rely on you db
use sequence or hilosequence

_________________
Emmanuel


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 10, 2005 12:51 am 
Regular
Regular

Joined: Tue Nov 09, 2004 5:15 pm
Posts: 100
Thanks emmanuel.

As i mentioned, we are planning to use Oracle 10g. Is there a specific situations when i should use hilosequence?

Thanks again!


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 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.