1 Reply Latest reply on Oct 8, 2001 4:22 PM by marc fleury

    what happens when there's a duplicate primary key?

    konrad Newbie

      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.