Thanks Heiko for your reply. I do want to keep idbroker for the table except when I import a file where the key is provided which happens from time to time. Are you suggesting I should maintain 2 ******-schema.xml files ?
> -----Original Message----- > From: Heiko Braun [mailto:[EMAIL PROTECTED]] > Sent: vendredi 8 f�vrier 2002 15:03 > To: Turbine Users List > Subject: Re: Importing data in Torque&IdBroker > > > possible values for the idMethod attribute are: > idBroker, native, autoincrement, sequence, none, null. > choose the one which pleases you most. > > take a look at "source/dtd/database.dtd" for more information. > the file is included in the turbine source distribution. > > /Heiko > > > Am Fre, 2002-02-08 um 14.51 schrieb Emmanuel Bardet: > > Hello all, > > > > I need to import data in a table on which the idbroker generates primary > > keys. This is fine except that I need to keep the primary key > provided with > > the import file. How do I tell Torque not to use the idbroker for those > > inserts ? > > > > <table name="TAR_MENU_UNIT" idMethod="idbroker" > > > <column name="UNIT_ID" required="true" primaryKey="true" > > autoIncrement="true" type="INTEGER"/> > > ... > > </table> > > > > Thanks. > > > > Emmanuel. > > > > > > -- > > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
