Hi,
My database is Postgresql8 and I have a column which is serial(auto increase) type.
I followed the instruction in the jboss document as below:
<jbosscmp-jdbc>
<enterprise-beans>
<ejb-name>LocationEJB</ejb-name>
<pk-constraint>false</pk-constraint>
<table-name>location</table-name>
<cmp-field>
<field-name>locationID</field-name>
<column-name>id</column-name>
<auto-increment/>
</cmp-field>
<!-- ... -->
<entity-command name="hsqldb-fetch-key"/>
</enterprise-beans>
</jbosscmp-jdbc>
but I got a xml error that the element type <auto-increment> and <entity-command> must be declared.
Any one can help me solve the problem?
Thanks!