just use a JDBC call to the sequence to determine the next value.
How to do that is database dependent, so see the sql manual for your database on how to
call sequences.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4145687#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...