Subject Re: JayBird and large attachment
Author doychin@dsoft-bg.com
this is the fix we did to eliminate this excpetion:

Index: FBBigDecimalField.java
===================================================================
RCS file: /cvsroot/firebird/client-
java/src/main/org/firebirdsql/jdbc/Attic/FBBigDecimalField.java,v
retrieving revision 1.7
diff -r1.7 FBBigDecimalField.java
110c110,111
< return getBigDecimal().longValue();
---
> BigDecimal bigDecimal = getBigDecimal();
> return (bigDecimal != null ? bigDecimal.longValue(): 0);

Doychin