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]>
