This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Problem updating BLOB " Watch "Problem updating BLOB " New topic
Author

Problem updating BLOB

dnyan ginde
Ranch Hand

Joined: Jan 17, 2006
Posts: 68
Hello,

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:
http://www.oracle.com/technology/sample_code/tech/java/sqlj_jdbc/files/advanced/advanced.html

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: http://aspose.com/file-tools
 
subject: Problem updating BLOB
 
Similar Threads
java.io.ioException
Problem when readin blob
java.sql.SQLException: ORA-01407:
opinion soughted
write a bytearray to an oracle db