db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "netseeker" <netsee...@manskes.de>
Subject RE: Idbroker idMethod
Date Tue, 02 Mar 2004 18:57:03 GMT
Yes, this is by design. Either you use the idbroker or not.
Using more than one id generation mechanism on the same tables 
isn't a good idea.

so long
Micha

> -----Original Message-----
> From: Sica, David (David) [mailto:dsica@avaya.com]
> Sent: Tuesday, March 02, 2004 4:09 PM
> To: torque-user@db.apache.org
> Subject: Idbroker idMethod 
> 
> 
> Hello,
> 
> I'm a new user of Torque and am trying to understand idMethod usage a
> little better.  If I select to use the idBroker idMethod method for
> primary key generation then am I locked into Torque as the only means
> for inserting data into my tables?  In other words, since Torque will be
> generating the id's then is it true that I shouldn't use another
> mechanism for inserting into a table using idBroker (i.e. direct JDBC
> call or non-Java script access) else Torque and the non-Torque methods
> may try to insert duplicate primary keys?
> 
> Thanks,
> David Sica
> 
> 
> ---
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.591 / Virus Database: 374 - Release Date: 17.02.2004
> 
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.591 / Virus Database: 374 - Release Date: 17.02.2004


---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org


Mime
View raw message