This content has been marked as final.
Show 2 replies
-
1. Re: autoincrement
invisiblemage Dec 23, 2003 6:34 AM (in response to vaat)in mysql use in the jbosscmp-jdbc.xml
<ejb-name>myEJB</ejb-name>
<table-name>myEJB</table-name>
<cmp-field>
<field-name>myId</field-name>
<column-name>my_id</column-name>
<auto-increment/>
</cmp-field>
<entity-command name="mysql-get-generated-keys"/>
... -
2. Re: autoincrement
marcoyeung Dec 23, 2003 7:07 AM (in response to vaat)is there anyone know how to do auto-increment with SQL SERVER. I am using IDENTITY field type in SQL SERVER's table as primary key field.. how to set up JBOSS to support auto-increment in this field type???
thanks
Marco