Yes, I wanted to use torque for the import as it's really convinient. I guess I'd better create the sql statements for each entry in the file... :-(
> -----Original Message----- > From: Heiko Braun [mailto:[EMAIL PROTECTED]] > Sent: vendredi 8 f�vrier 2002 15:21 > To: Turbine Users List > Subject: RE: Importing data in Torque&IdBroker > > > Ok. now i understand. > But i actually have no idea how > the idBroker handles cases like this. > I guess you run into a lot of problems,.. > > ;) > > Are you doing the imports via torque aswell? > > > > Am Fre, 2002-02-08 um 15.13 schrieb Emmanuel Bardet: > > 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]> > -- ' Heiko Braun Software Development Java, Open Source -- 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]>
