-->
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.  [ 1 post ] 
Author Message
 Post subject: Change Identity Seed
PostPosted: Thu Oct 22, 2009 8:25 am 
Newbie

Joined: Mon Oct 19, 2009 2:54 am
Posts: 2
Hy all,

I searched through the forum but was not able to find something about this, so i decided to ask.

In my project i have the, in my oppinion, very common demand that the id in the order table starts at 10000 instead of 1.

but with hibernate i cannot find how to define the seed to 10000. i dont really want to use a TableGenerator just for this purpose, i mean the database supports the functionality.

im using hibernate 3

any help is appreaciated

thanks, rolarga


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

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.