Hi, you can use idMethod="native" on per table level or defaultIdMethod="native" on database level in your xml schema. After executing the save() method the autogenerated id should be set correctly in your new record and you can get it as usual with getYourAutogeneratedID()...
Michael > -----Urspr�ngliche Nachricht----- > Von: Derek Hardy [mailto:[EMAIL PROTECTED] > Gesendet: Freitag, 30. Mai 2003 11:12 > An: Torque User Mailing List > Betreff: Auto generated IDs > > > Hi > > I'm using a MySQL database with Torque to create new records. > > The tables have a unique sequence number which is auto generated. > > Is there anyway to get this ID when I'm creating a new record with the > save() method? > > Thanks in advance > > Derek > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
