There has been much discussion on database and container independent primary key
generation strategies. I've been using the first strategy in Floyd Marinescu's book
ftp://www6.software.ibm.com/software/developer/library/j-ejbdesign.pdf
but have been getting transaction roll-back exceptions.

You are talking about the sequence block pattern? I have implemented this as well and it is working. To my mind this is an excellent solution for db-independant pk generation. Perhaps you should post the execptions you get?


-marek



-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to