my dog learned polymorphism
The moose likes JDBC and Relational Databases 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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
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
It's not a secret anymore!