For dbs without an auto_inc feature, that db implementation would ignore this or 
handle it accordingly.  Up to that implementation.

Travis

---- Original Message ----
From: Jon Scott Stevens <[EMAIL PROTECTED]>
Sent: 2002-04-22
To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
Subject: Re: Subproject Proposal - crossdb

on 4/21/02 11:38 PM, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:

>> iq.addAutoIncrementColumn("emp_id");
> 
> And for databases without an auto-increment feature??

FYI, Torque looks at what database driver you are using an will generate the
right SQL/process to emulate auto-increment (assuming your database supports
that...for example, MySQL will generate auto-increment columns...oracle will
generate sequences).

Torque also has a built-in IDBroker (based on Scott Ambler's design ideas)
which you can use instead of auto-increment. This can actually outperform
auto-increment and is 100% cross database compatible.

-jon

-- 
Nixon: "At least with liquor, I don't lose motivation."


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

Reply via email to