Subject | Re: Firebird with Blobs |
---|---|
Author | mcmics |
Post date | 2007-09-01T17:01:51Z |
--- In Firebird-Java@yahoogroups.com, Roman Rokytskyy <rrokytskyy@...>
wrote:
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.
wrote:
>statement
> > 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
> >reproduce an
> > 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
> error?I use jaybird 2.1.1 and if I connect to the database and create a
>
> Roman
>
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.