5 Replies Latest reply on Apr 24, 2008 2:50 PM by 807581

    Cannot create CLOB.createTemporary() in Sun One app. server


      I am trying to insert a Clob data into Oracle (9i) using thin driver. I used the sample code Oracle had suggested to insert Clob data (by creating temporary memory supplied by the driver). as a standalone program it works fine but when I deploy it to Sun One, it gives me a NullPointer exception in CLOB.createTemporary() method. The only difference I can see is, the database connnection used in standalone was oracle.jdbc.driver.OracleConnection and that of the server was com.sun.enterprise.resource.JdbXAConnection. Would this be an issue ? Please advice.