on 4/5/00 11:07 AM, Soni Dhiraj <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Jyve is supposed to be portable to any database. My question
> is how are you handling SEQUENCES in a Database.
>
> In Mysql ,you give column as auto_increment. Inserting in it requires
> you send NULL Value and it updates.
> While in Oracle or Postgresql,proper Sequence names are used.Also
> Oracle uses sequence.nextval and postgresql uses NEXTVAL('sequence').
>
> So,wont you have to change code to support this.
>
> Dhiraj.
Support for more than just MySQL isn't really there yet. Feel free to
contribute this support. The "right way" to do it would be to re-write
things to use Turbine's Peer model which has built in support for not only
using sequences, but also has an IDBroker so that you can write things in
such a way as to not even need sequences or autoincrement.
I currently have no plans on supporting Oracle. This type of support needs
to come from the community (like you).
-jon
--
Scarab -
Java Servlet Based - Open Source
Bug/Issue Tracking System
<http://scarab.tigris.org/>
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]