aspose file tools*
The moose likes JDBC and the fly likes Loading Image from db done !! Problem with byte array to Image Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Loading Image from db done !! Problem with byte array to Image" Watch "Loading Image from db done !! Problem with byte array to Image" New topic
Author

Loading Image from db done !! Problem with byte array to Image

Ashutosh khanna
Greenhorn

Joined: Oct 21, 2006
Posts: 5
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30764
    
156

Ashutosh,
Welcome to JavaRanch!

What error message are you getting?


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Ashutosh khanna
Greenhorn

Joined: Oct 21, 2006
Posts: 5
Thanks for replying.

The thing is that i am not getting any image in the frame.. no errors.

and i have printed the contents of the byte array on console just the check whether it is empty.

instead of a dry run... why don't you try with your database ?
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30764
    
156

Ashutosh,
I don't follow. When you print the byte array, is it empty or does it output bytes?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Loading Image from db done !! Problem with byte array to Image