[jboss-user] [JBoss Seam] - Re: How to insert a timestamp to a Not Nullable column from

fhh do-not-reply at jboss.com
Fri Apr 6 10:38:44 EDT 2007


I think it is not a good idea to use the generator strategy increment.

Create the sequence insted. If you have already data in the schema, set the initial value of the sequence so you don't get duplicate pks.

Use @SequenceGenerator or alter the sequence manually.

Regards

Felix

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4035339#4035339

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4035339



More information about the jboss-user mailing list