Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Thin driver exception problem

Thin driver exception problem

From: Dushan Veljovic <dveljovic_at_derivion.com>
Date: Thu, 21 Oct 1999 16:33:35 GMT
Message-ID: <380F4FEC.94EACF9D@derivion.com>


Hi,

I am using thin driver with Oracle 8i
Following code raises an exception.

    protected CallableStatement cstmt;
    protected ResultSet rs;

    cstmt ........
    rs ......

    cstmt.setString(1, "FirstParam");
    cstmt.registerOutParameter(2, OracleTypes.CURSOR);

    // Folowing line throws an exception:     rs = (ResultSet) cstmt.getObject(2);

oci8 driver works for the above scenario, no problems. When I switch to thin driver, it raises exception with following message:

        "java.sql.SQLException: ORA-00942: table or view does not exist"

Does anybody know what is the difference in oci8 driver and thin driver?

Does thin driver need some specific configuration other then different url?

Thanks,
Dushan Received on Thu Oct 21 1999 - 11:33:35 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US