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.....