Discussions

General J2EE: inserting images into blob

  1. inserting images into blob (1 messages)

    I have this uncleared doubt for a long time. That is, how can I store image files in to oracle database(blob) using JSP or by writing method in my BMP bean and calling it from JSP ! Means...what is the actual procedure for that?some detailed explanation will be helpfull.
    Thanks!!!
  2. inserting images into blob[ Go to top ]

    Hi rahul,

    You have to serialize the image-convert it in to raw byes-and then use JDBC setBlob call to set it to the oracle column.

    malay