• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Cannot read a Blob from a CachedRowSet

 
Tomas Nilson
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello!
I have a JSP page that gets a CachedRowSet from a Java Bean (which communicates with my MySQL database).
I have no problems reading things like strings and integers from the CachedRowSet, but I can't read Blobs. I receive a datatype mismatch error when I try to do that.
I do something like:
java.sql.blob b = crs.getBlob("test");
and then it crashes...
Does anyone have any ideas of how to fix this?? Is more information needed??
PLEASE help me!!
/Tom
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic