[jboss-user] [EJB 3.0] - Re: wrong value generated by a sequence generator in jboss-4

andydale do-not-reply at jboss.com
Tue May 22 03:08:21 EDT 2007


Hi,

In the @SequenceGenerator annotation add the following attributes:

allocationSize=1, initialValue=1

You can leave the initialValue attribute out if you want, as all you should need to get it to work correctly is the allocationSize attribute.

Cheers,

Andy

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

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



More information about the jboss-user mailing list