>I'm not sure that this is actually the case, but that's what appears to be
>happening when I walk through it in the debugger.
Dan, you may want to try some load testing, try to create as many of that
enity type as you can, that way you may encounter the problem where another
bean gets added to the database before the first can get the last sequence
count.
The only way that your scheme could work is if ejbCreate is a serializeable
transaction, althouh I doubt that it is.
take care,
Floyd
---------------------------------
Senior Architect
The Middleware Company
http://www.middleware-company.com
[EMAIL PROTECTED]
416-889-6115
Need help with EJB / J2EE? Ask about our on-site training and consulting
services.
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".