[Opensource] setAutoIncremented
James Haugen
haugenjames at hotmail.com
Fri Jul 12 08:03:44 PDT 2002
Thanks for the info. I did find reference to NextNumber in the Expresso
How-to-guide (page 6). I chose to use the "auto-inc" option instead. Now I
can use DBObject's add() instead of DBMaint for insertion, makes my code
much cleaner.
James
>From: Michael Rimov <rimovm at centercomp.com>
>Reply-To: opensource at jcorporate.com
>To: opensource at jcorporate.com
>Subject: Re: [Opensource] setAutoIncremented
>Date: Thu, 11 Jul 2002 13:41:48 -0700
>
>At 10:54 AM 7/11/2002 -0600, you wrote:
>>Can this method be used on a primary key that is incremented by a trigger
>>in an Oracle DB?
>
>James,
>
>Currently, we don't support that. Adam Rossi made a DBSequence class
>that's in the ext or demo directory (don't remember off the top of my
>head) The NextNumber stuff was created to bridge most of the problems with
>all the different databases out there. [Seems like each one uses it's own
>syntax]... and the JDBC 3 concept, of course, isn't widely supported yet.
>
>Hope this clarifies things!
> -Mike
>
>_______________________________________________
>Opensource mailing list
>Opensource at jcorporate.com
>http://mail.jcorporate.com/mailman/listinfo/opensource
>Archives: http://mail.jcorporate.com/pipermail/opensource/
_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com
More information about the Opensource
mailing list