This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line!
See this thread for details.
Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to pass BLOB to Oracle stored procedure

 
Misha Kezherashvili
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I am trying to store file into database using oracle stored procedure. I am using Struts.
here is the code.



and here is the stored procedure



The record is inserted but the blob field is empty. Where did i go wrong?
 
Misha Kezherashvili
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Found the answer.

Here is the working example:

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic