Subject | Re: Change in JayBird or new bug |
---|---|
Author | Roman Rokytskyy |
Post date | 2002-11-24T21:56:17Z |
Can you create a test case for this problem? I have committed two
things recently: TPB mapping and improved ResultSetMetaData. All
tests that we have succeeded, but they do not cover lots of things.
If you can provide a test case, we will include it later in our test
suite.
Thanks!
Roman
--- In Firebird-Java@y..., "William L. Thomson Jr." <support@o...>
wrote:
things recently: TPB mapping and improved ResultSetMetaData. All
tests that we have succeeded, but they do not cover lots of things.
If you can provide a test case, we will include it later in our test
suite.
Thanks!
Roman
--- In Firebird-Java@y..., "William L. Thomson Jr." <support@o...>
wrote:
> I was using a CVS version of JayBird from a few weeks back, and Ialso
> tried the current CVS version as of a couple hours ago. The onlyversion
> I could get my hands on that is some what current that does not haveit's the
> this problem is JayBird Rc1a.
>
> The current versions seem to have a problem with reading many binary
> blobs in a result set. If I have a table that contains a binary blob
> column, and I select several rows I am only able to retrieve the
> bytes/blob from the first row of the result set. The rest seem to be
> empty or something.
>
> I am retrieve my blobs via
>
> while(rs.next()) {
> byte[] bytes = rs.getBytes("BLOB_COLUMN");
> }
>
> Hope that is not to vague, I can provide more detail, but I am not
> really doing anything special.
>
> Basically on the first loop I get the first row, on the rest of the
> loops I get nothing. I have seen once case where consecutive calls
> returned the same data from the first row. But 90%+ of the time
> later, and nothing is retrieved after the first row.Or is
>
> With the same code, and switching from CVS to Rc1a the problem goes
> away.
>
> So I do not believe I am doing anything wrong?
>
> Should I report this as an official bug, or is a simple code fix.
> there a change in the code base for performance, and I need to makea
> call or something that I am not doing. Something that would not have
> been needed with Rc1a or previous release?
>
> Thanks
>
> --
> Sincerely,
> William L. Thomson Jr.
> Support Group
> Obsidian-Studios Inc.
> 439 Amber Way
> Petaluma, Ca. 94952
> Phone 707.766.9509
> Fax 707.766.8989
> http://www.obsidian-studios.com