Hi there,

I don't know if I can answer your question exactly, but I can assure you that 
I've been using DB2 for about two years now, with hand-written JDBC code to do 
my inserts into tables with AUTO-INCREMENT, and I get DuplicateKeyExceptions 
all the frickin time.

I've actually had to hand-write exception handlers to catch any exceptions 
during inserts, check the cause, and if it's because of a duplicate key 
exception, perform a manual increment and re-insert the row.

I'm using DB2 v 8.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4031771
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to