aspose file tools*
The moose likes JDBC and the fly likes Problem updating BLOB Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Problem updating BLOB " Watch "Problem updating BLOB " New topic

Problem updating BLOB

dnyan ginde
Ranch Hand

Joined: Jan 17, 2006
Posts: 68

I have problem updating my empty_blob() in the database.Here's my code:
[ February 09, 2006: Message edited by: dnyan ginde ]
stu derby
Ranch Hand

Joined: Dec 15, 2005
Posts: 333
Take a look at Oracle's example, here:

It's the LOB Datatype example, the zip file contains a complete working program that inserts and updates CLOBs and LOBs. The "readme" and "source" links contain most of what you need to know, but are a bit incomplete.
dnyan ginde
Ranch Hand

Joined: Jan 17, 2006
Posts: 68
Sorry for the delay in reply, but thanks a lot Stu
I agree. Here's the link:
subject: Problem updating BLOB
Similar Threads
java.sql.SQLException: ORA-01407:
Problem when readin blob
write a bytearray to an oracle db
opinion soughted