I'm not sure if I'm overlooked something (a 'users' problem) or if this is a significant problem that's been overlooked before (a 'devel' problem).

I'm using PostgreSQL with a 'sequence' generator. I also have about 500 quasi-static objects preloaded into the database via an XML<->DB tool.

The problem is that hibernate sequences seem to start at 1, not a developer-specified value. This causes collisions on persistent classes with some quasi-static objects (e.g., bootstrapped system users).

Is there a way to specify a non-standard starting value for the sequence generator? The alternative is the awkward

 - call hibernate tools to create DB
 - drop sequence
 - create sequence start 2000  (for instance)
 - db-load to populate database




------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ hibernate-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to