Details
-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.5.7
-
Fix Version/s: 1.5.8
-
Component/s: Other
-
Labels:
Description
{{ connection = dataSource.getConnection();
statement = connection.prepareStatement(sql, Statement.RETURN_GENERATED_KEYS);
<... >
result = statement.executeUpdate();
ResultSet rs = statement.getGeneratedKeys();
}}
rs.next() now throws java.sql.SQLException: Operation not permit on a closed resultSet.
This should not happen on first call to rs.next().
Bug introduced in 1.5.7, 1.5.6 behaves as it should with regards to this.