Jump to content
Changes to the Jaspersoft community edition download ×

JPG image from BLOB (stored with OLE container)


ilijaa

Recommended Posts

Hi,

I have problem with reading an jpg image from blob. The image has been stored into blob by OLE container. When I tryed to read from blob's binary stream and write bytes in file, there was no error or exception thrown, but I can not see the image from ACDSee or other viewer!

When I tryed to insert an image from java program to oracle blob (in the same column as I insert from forms with OLE container) and store it to the database, and read it with the same program (that hasn't worked with images stored by OLE) everything works fine, and I can see the pictures.

Problem is that I must read images stored with OLE container, and I can't do it or figure it out for three days! Please help!

 

PS:

I am using Oracle 9i database, thin driver...

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...