db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Fischer <fisc...@seitenbau.net>
Subject RE: Derby autogenereted keys
Date Thu, 22 May 2008 18:57:49 GMT
>Just add the attribute:
>
>    defaultIdMethod="native"
>
>to the <database ...> tag.  This will create the SQL needed for
>autoincrement fields.
>

To be precise, for all primary keys. The autoincrement attribute is not
needed at all and should not be used; better use the idMethod and
defaultIdMethod attributes.

   Thomas


---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org


Mime
View raw message