2 Replies Latest reply on Aug 16, 2002 10:49 PM by jsimone

    How to add unique contraint to a non-primary key column

      I would like to add a unique constraint to a column that is not a primary key. How do you do this using JBoss CMP 2.0? I am assuming it is something to be added to the jbosscmp-jdbc.xml file?

      Also, how does do you catch the constraint exception?
      Many thanks,
      joe