I'm having exactly the same problem!!!
Could anybody help us?
Thank You in advance.
check if your jbosscmp-jdbc.xml are pointed to correct DTD.
auto-increment/entity-command are belongs to DTD version 3.2.
<!DOCTYPE jbosscmp-jdbc PUBLIC
"-//JBoss//DTD JBOSSCMP-JDBC 3.2//EN"
jbosscmp-jdbc.xml was actually pointing to the correct DTD.
I added the relevant xdoclet tags :
* @jboss.persistence auto-increment = "true"
to generate the jbosscmp-jdbc.xml file, and I could deploy without any prob.
But now, this INSERT fails because Cannot insert the value NULL into primary key column, which I pointed out under one of your posting, "Does Jboss support IDENTITY field in MSSQL SERVER / ORACLE??"