Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: CLOB problem in JAVA
You can try diffrent way to create CLOB in database.
INSERT INTO TAB(ID,TXT)
VALUES(1,EMPTY_CLOB())
java.sql.ResultSet rset = ...
oracle.sql.CLOB lob = (oracle.sql.CLOB )rset.getClob(2);
OutputStream lobOut = lob.getBinaryOutputStream();
Dariusz Dudek Received on Tue Jul 26 2005 - 02:45:27 CDT