Skip to content

ResultSet move incorrectly closes input clob #880

@mrotteveel

Description

@mrotteveel

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.

Sub-issues

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions