A ResultSet move (e.g. next()) closes the current clob of FBLongVarcharField, even if it was returned to the caller. Same probably goes for clobs returned from CallableStatement. That behaviour is incorrect, a clob that was returned to the caller should live until explicitly freed or until transaction end. Only output clobs, or clobs used internally for other methods of the field should be closed.
A
ResultSetmove (e.g.next()) closes the current clob ofFBLongVarcharField, even if it was returned to the caller. Same probably goes for clobs returned fromCallableStatement. That behaviour is incorrect, a clob that was returned to the caller should live until explicitly freed or until transaction end. Only output clobs, or clobs used internally for other methods of the field should be closed.