users@glassfish.java.net

Re: CLOB for LONG String values and OracleConnection from a DataSource

From: <glassfish_at_javadesktop.org>
Date: Tue, 01 Jul 2008 10:01:54 PDT

Thanks for the information.

Now the question is the next step. I've created the Clob, but I cannot use clob.setString(0, xmldata). It throws an invalid operation exception. What should I use, a writer? And then, how to set that clob in the PreparedStatement, as setClob(x, clob) or setObject(x, clob)?

Thanks Petr
[Message sent by forum member 'aperezymadrid' (aperezymadrid)]

http://forums.java.net/jive/thread.jspa?messageID=283715