"Weaver, Scott" wrote:
> 
> Are you using "native" or "idBroker" for your id's?
> 
> If you are using "native", you will not be able to access the primary key
> after an insert.  "native" uses the RDBMS' internal ability to generate the
> id, which consequently happens during/after the actual insert into the db,
> and at this point it is out of Torque's control.  For the key to be
> available to a Torque OM object, Torque would have to query the db after the
> insert transaction was completed, which it does not.
> 

Scott Eade said this already but I would like to make sure the point is
taken.  The above paragraph is wrong.  You can use "native" and
"idbroker" interchangeably.  The id should still be available after the
insert.  Perhaps "native" is not usable in the tdk?  Try
"autoincrement".

john mcnally

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to