i'm starting to read the server-side's ejb pattern for automatically incrementing the primary key (when it's an integer), but i wondering how jboss behaves if it encounters a duplicate primary key? when i tried today, jboss just seems to stop. i'm using postgres7.1.3 and i configured the jboss.jcml entry for postgres such that it does not block. however, when i tried to insert a record into my table (which happened to have a pre-existing primary key), jboss seemed to block and no exception was displayed... any feedback is greatly appreciated.
If you think this is a bug wrt the spec then put that in sourceforge bug tracker
thanks