Hi,

yes that's it. I forgot the defaultIdMethod. That happens when I don't copy & 
paste the definition from one file to another. Definitely user-fault!

Thanks
Thoralf



-----Urspr?ngliche Nachricht-----
Von: Thomas Fischer [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 22. Mai 2008 20:58
An: Apache Torque Users List
Betreff: RE: Derby autogenereted keys


>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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to