You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-user@db.apache.org by jo...@talk21.com on 2003/09/22 12:20:24 UTC

Does Hsqldb work with SequenceManagerNextValImpl?

Hi,

Does Hsqldb work with SequenceManagerNextValImpl? The rc4 repository_database.xml file contains:

        <sequence-manager className="org.apache.ojb.broker.util.sequence.SequenceManagerNextValImpl">
            <attribute attribute-name="autoNaming" attribute-value="true"/>
        </sequence-manager>

within an Hsqldb jdbc-connection-descriptor, however when I try this I get a exception saying this is not implemented.

Do I have to use this in conjunction with a Hsqldb IDENTITY column?

Regards,

Joss



--------------------
talk21 your FREE portable and private address on the net at http://www.talk21.com


---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org


Re: Does Hsqldb work with SequenceManagerNextValImpl?

Posted by Armin Waibel <ar...@code-au-lait.de>.
Hi,

hsql does not support database based key
generation. Please use
see http://db.apache.org/ojb/sequencemanager.html
for more info.
e.g. you can use SequenceManagerInMemoryImpl
or SequenceManagerHighLowImpl or you can
'simulate' a databased based sequence key generation
by using Stored Procedure.

regards,
Armin

----- Original Message -----
From: <jo...@talk21.com>
To: <oj...@db.apache.org>
Sent: Monday, September 22, 2003 12:20 PM
Subject: Does Hsqldb work with SequenceManagerNextValImpl?


Hi,

Does Hsqldb work with SequenceManagerNextValImpl? The rc4
repository_database.xml file contains:

        <sequence-manager
className="org.apache.ojb.broker.util.sequence.SequenceManagerNextValImp
l">
            <attribute attribute-name="autoNaming"
attribute-value="true"/>
        </sequence-manager>

within an Hsqldb jdbc-connection-descriptor, however when I try this I
get a exception saying this is not implemented.

Do I have to use this in conjunction with a Hsqldb IDENTITY column?

Regards,

Joss



--------------------
talk21 your FREE portable and private address on the net at
http://www.talk21.com


---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org






---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org