Subject | Jaybird BLOB BUG??? |
---|---|
Author | mcmics |
Post date | 2006-12-13T20:23:12Z |
I think I found a bug in Jaybird 2.1.0 . My problem is that I have
store an image in DB as BLOB. If I want to get the image I got
following error:
java.lang.ClassCastException: org.firebirdsql.jdbc.FBCachedBlob
at org.firebirdsql.jdbc.field.FBBlobField.getBytesInt
ernal(FBBlobField.java:125)
at org.firebirdsql.jdbc.field.FBBlobField.getBytes(FB BlobField.java:113)
at org.firebirdsql.jdbc.field.FBField.getObject(FBFie ld.java:563)
at org.firebirdsql.jdbc.FBResultSet.getObject(FBResul tSet.java:515)
Hope you can help me.
store an image in DB as BLOB. If I want to get the image I got
following error:
java.lang.ClassCastException: org.firebirdsql.jdbc.FBCachedBlob
at org.firebirdsql.jdbc.field.FBBlobField.getBytesInt
ernal(FBBlobField.java:125)
at org.firebirdsql.jdbc.field.FBBlobField.getBytes(FB BlobField.java:113)
at org.firebirdsql.jdbc.field.FBField.getObject(FBFie ld.java:563)
at org.firebirdsql.jdbc.FBResultSet.getObject(FBResul tSet.java:515)
Hope you can help me.