Anyone using Torque with Oracle sequences (native). Think there may be a
bug there...

Im getting a null sequence name - I put debug statements in the Oracle
adaptor:


    public String getIDMethodSQL(Object sequenceName)
    {
String sequenceString = "select " + sequenceName + ".nextval from dual";
System.out.println("****************************************************
***********");
System.out.println("sequence string = [" + sequenceString + "]");
System.out.println("****************************************************
***********");

        return ("select " + sequenceName + ".nextval from dual");
    }

Printed:

***************************************************************
sequence string = [select null.nextval from dual]
***************************************************************
                           ^

Why is the sequenceName null?
In the SQL file Torque correctly generated:

CREATE SEQUENCE SUBSCRIBER_SEQ INCREMENT BY 1 START WITH 1 NOMAXVALUE
NOCYCLE NOCACHE ORDER;



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to