-->
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: Native ID generator specifying starting value
PostPosted: Tue Oct 10, 2006 7:43 am 
Newbie

Joined: Mon Sep 18, 2006 10:45 am
Posts: 7
I'm specifying a native ID generator and using Oracle. I would like to be able to specify a start point in the generated sequence such that the output of the hbm2ddl tool would contain a line such as:
Code:
create sequence hibernate_sequence start with 100000;

Is there a way to do this, maybe something really obvious I've missed?
Thanks.

For information, I want to do this so I can define DbUnit test data with ids below the sequence start value so there are no conflicts.


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.