0 Replies Latest reply on Jul 18, 2005 5:27 PM by xxx xxx

    Creating an unique key

    xxx xxx Newbie

      Hi. I need to create an unique key (not a primary key). i'm using jboss 4.0.1sp1 an hsql. i there a simple xdoclet tag i can use? anothre problem is, that i can't tell if a field is nullable or not. i allready tried this, but it doesn't work:

      @jboss.persistence auto-increment = "true"
      not-null = "true"

      please help