This discussion is archived
5 Replies Latest reply: Apr 24, 2008 7:50 AM by 807581 RSS

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

807581 Newbie
Currently Being Moderated
Hi,

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.

Thanks,
Srini