File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes Regarding clob Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Regarding clob" Watch "Regarding clob" New topic
Author

Regarding clob

Navin Pillu
Ranch Hand

Joined: Apr 19, 2005
Posts: 103
Hi All

I've a clob in my oracle DB. It has a length of 18000 chars. I've a requirement where I need to copy it from one schema to another. It is getting retrieved but not able to insert into another schema through batch through JDBC.

I tried setClob, setAsciiStream. But both functions throw the exception. These functions work fine for chars less than 10000.

Can anybody tell me how to do it.

Thanks

Regards
Navin
Jan Cumps
Bartender

Joined: Dec 20, 2006
Posts: 2500
    
    8

Navin Pillu wrote:...
I tried setClob, setAsciiStream. But both functions throw the exception.
...
Can you tell us what that Exception says?


OCUP UML fundamental and ITIL foundation
youtube channel
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Regarding clob