-
1. Re:
ongtw Dec 23, 2003 8:19 AM (in response to veemal)Hi all,
I'm having exactly the same problem!!!
Could anybody help us?
Thank You in advance. -
2. Re:
marcoyeung Dec 23, 2003 12:15 PM (in response to veemal)check if your jbosscmp-jdbc.xml are pointed to correct DTD.
auto-increment/entity-command are belongs to DTD version 3.2.
like this:
<!DOCTYPE jbosscmp-jdbc PUBLIC
"-//JBoss//DTD JBOSSCMP-JDBC 3.2//EN"
"http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_3_2.dtd">
Regards
Marco -
3. Re:
veemal Dec 23, 2003 9:22 PM (in response to veemal)jbosscmp-jdbc.xml was actually pointing to the correct DTD.
I added the relevant xdoclet tags :
*@jboss.entity-command
* name="mssql-fetch-key"
&
* @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??"