L. Yeung wrote:

> yea sure! i'm glad! =D
> i'm a newbie and currently, i use findAll() function
> then get the last item from the collection, then get
> pk field from the item then pk-field + 1. i think my
> approach is slow, dont u think?


Ouch! probably. But what happens if two transactions do that at the same 
time?


-danch

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to