I tested it a little bit more, and got a new question:
It now fails when inserting a new record. Is there any way I can get a 
DuplicateKeyException on an update?
The reason we use surrogate keys is partially because we can allow users to later 
modify the code, that would otherwise have been the primary key on the table.

Any chance of having this behaviour?

Thank you

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838171#3838171

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838171


-------------------------------------------------------
This SF.Net email is sponsored by: GNOME Foundation
Hackers Unite!  GUADEC: The world's #1 Open Source Desktop Event.
GNOME Users and Developers European Conference, 28-30th June in Norway
http://2004/guadec.org
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to