Hi
I am trying to deploy Torque objects using the weblogic adapter to access an 
oracle database.
In the weblogic I configure a pool to access the oracle database.
Thus in Torque.properties I must write I am using the weblogic driver :
eg :
torque.database.default=DEV
torque.database.DEV.driver = weblogic.jdbc.pool.Driver
torque.database.DEV.url = jdbc:weblogic:pool:MyPool
torque.database.DEV.username =
torque.database.DEV.password =

I then connect and read in the DB correctly thru Torque, but as soon as I try 
to write in the db bu using Oracle sequence, It fails.

I looked at the Torque source of DBWeblogic adapter and in facts it does not 
implement sequence :
public String getIDMethodType()
    {
        return NO_ID_METHOD;
    }

The problem we have then is that if we want to use Oracle behind weblogic, the 
Torque provided adapter provides fewer features !
Any idea ? I really would like Torque going thru weblogic to acess Oracle and 
would like to avoid accessing directly a jdbc:oracle:* jdbc url.

Frenchee

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

Reply via email to