Subject Re: Firebird with Blobs
Author mcmics
--- In Firebird-Java@yahoogroups.com, Roman Rokytskyy <rrokytskyy@...>
wrote:
>
> > I think I found a bug. If I read a BLOB from DB with Statement
> >
> > connection.createStatement();
> >
> > it works fine and I can read the Blobs but with the folllowing
statement
> >
> > connection.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE,
> > ResultSet.CONCUR_READ_ONLY);
> >
> > I got the "Invalid Blob ID" error.
> >
> > Hope anyone can help or fix it.
>
> What Jaybird version do you use and what are exact steps to
reproduce an
> error?
>
> Roman
>
I use jaybird 2.1.1 and if I connect to the database and create a
statement with 'createStatement()' it works fine. I can works with
BLOB's but if I use a fetchable statement instead of the old I got a
'FBCachedBlobField' instead of an 'FBBlobField' and with the cached
there comes the error 'Invalid Blob ID'.

I think the error comes from the FBCachedBlobField.