> > CREATE SEQUENCE TEST_SEQ START WITH 1000 INCREMENT BY 1
>
> As an aside, if you expect to be creating a lot of beans in a short time
> and you don't care about gaps in your sequence of PKs and JBoss supports
> it, you may want to increment by a larger number. With WebLogic you can
> set the increment to 10, for example, and it will give out PK n, n+1,
> ..., n+9 before it has to hit the sequence again.
>
Does Weblogic manages this automatically? If you set the increment by 10,
Weblogic will assign n, n+1, ...n+9 automatically, ie, it will get the next
sequence value only when it has used all the 10 values between n and n+9? Or
is your responsability to manage that, ie, you get a sequence value, and
than you can use 10 consecutive values before getting the next sequence
value?
Thanks in advance,
Victor Batista
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user