2 Replies Latest reply on Jul 3, 2003 8:05 AM by crbaker

    auto-increment Jboss 3.2.1

    Bart Peeters Newbie

      Hello,

      I'm running Jboss 3.2.1, and I tryed to use the auto-increment tag like specified in the jboss_3_2.dtd, but when I deploy it, the server gives this error:

      15:40:54,636 ERROR [XmlFileLoader] XmlFileLoader: File jar:file:/home/peeters/jboss/jboss-3.2.1/server/default/tmp/deploy/server/default/deploy/otf2-logging-3.3.ear/34.otf2-logging-3.3.ear-contents/otf2-logging.jar!/META-INF/jbosscmp-jdbc.xml process error. Line: 32. Error message: The content of element type "cmp-field" must match "(field-name,read-only?,read-time-out?,column-name?,not-null?,((jdbc-type,sql-type)|property+)?,auto-increment?)".

      And my jbosscmp-jdbc.xml looks like

      <cmp-field>
      <auto-increment></auto-increment>
      <field-name>key</field-name>
      <column-name>logkey</column-name>
      <jdbc-type>INTEGER</jdbc-type>
      <sql-type>INTEGER</sql-type>
      </cmp-field>