• 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:

 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!