Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
1.5.7
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.