Subject Re: RC2 Jaybird JDBC bug on view select
Author Roman Rokytskyy <rrokytskyy@yahoo.co.uk>
Hi Tom,

I tried to debug JayBird deeper, and it seems that there is a bug in
server engine. In case of view with '' without a hint of what type
this empty string should be, server seems to forget to send us couple
of bytes it sends usually. Since this is protocol violation,
unpredictable results are possible. OutOfMemoryError most likely is
caused by some server output that we treat as data size and later
trying to allocate buffer to read data.

I have posted a message to the developers list, but most likely this
issue will not be fixed soon, because it is not 100% clear if your
view is legal or not and what to fix.

So, as a solution to this problem I would suggest to avoid using ''
without specifying data type in views.

Best regards,
Roman Rokytskyy