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

Reply via email to