Subject Re: PreparedStatements - bug in handling exception
Author Roman Rokytskyy
> The error below occurs when a parameter is too big when used with
> JayBird1.5b3. If I try it with FirebirdSQL1.0.1 I get a data
> truncation error which at least is a lot easier to understand what
> the problem is.
>
> There should be an understandable error message.

Yes, this is a known problem. DataTruncationException was thrown in
driver internally. However, there is one "feature" related to system
tables and to make it work, we removed length checks in driver and let
server do this. Unfortunately server instead of string truncation
error reports "operation cancelled". I will check if we can solve it
somehow.

It would be great if you can fill it as either bug or feature request
for JayBird.

Roman