This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
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 REST with Spring (video course) this week in the Spring 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!