-->
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: Question about sequences
PostPosted: Tue Nov 07, 2006 7:34 am 
Newbie

Joined: Tue Sep 19, 2006 8:50 am
Posts: 7
I have an application where I use a native generator with a pgSQL-db so all database entries are sharing one sequence.

In most cases this is fine but when it comes to orders I'd like to have another sequence that all Order-objects are sharing (as the jumps between order numbers isn't that appealing).

Is there any way so that I create and share another generator only between the different Order objects I have in the app?

Thx,

/Manny


Top
 Profile  
 
 Post subject:
PostPosted: Thu Nov 16, 2006 5:48 am 
Newbie

Joined: Tue Sep 19, 2006 8:50 am
Posts: 7
I've tried searching the documentation and the forum but havn't found any example of this. Anyone who can help me?


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.