Error in image-loading from DB
I'm using Visual age for Java with DB2 as backend.I want to retrieve an image,of
BLOB type, that is stored in database and show that image file in a JLABLE(setIcon
property).Most of the time,the image is retrieved without any problem....but
sometimes an error comes having following decsription:
"Locator variable '1' does not currently represent any value"
It is an SQLException.to retrieve the image, i'm using 'resultset.getByte("image")'.I
did refer to the help about this error, given in DB2,but couldn't come up
with a solution.
]Can anybody of u people help me regarding this problem????
I'll be thankful if u reply me as soon as poosible,'coz it's really urgent!!!!
Hope to hear from u soon.....
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL