[JBoss-user] Element type auto-increment must be declared.

2003-02-26 Thread Rene Palad
Hi, I'm using jboss-3.2.0RC2 and I want to auto-increment my PK in MySql. I followed the format in jbosscmp-jdbc.xml: cmp-field field-namejsCode/field-name column-nameJS_CODE/column-name jdbc-typeINTEGER/jdbc-type sql-typeINTEGER(11)/sql-type auto-increment/ /cmp-field

Re: [JBoss-user] Element type auto-increment must be declared.

2003-02-26 Thread julien viet
your dtd is not the good one, your cmp file doctype must reference the 3.2 dtd and not the 3.0 julien RP Hi, RP I'm using jboss-3.2.0RC2 and I want to auto-increment RP my PK in MySql. I followed the format in RP jbosscmp-jdbc.xml: RP cmp-field RPfield-namejsCode/field-name RP