[
https://issues.apache.org/jira/browse/OAK-4557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Julian Reschke updated OAK-4557:
--------------------------------
Description:
{{RDBPreparedStatementWrapper.close()}} currently calls {{close()}} on
associated results sets.
This is correct per JDBC spec, but hides implementation problems in the
underlying data source, thus is not helpful for testing.
Also add a unit test that observes whether the given {{PreparedStatement}}
properly closes associated {{ResultSet}}s. (see
https://bz.apache.org/bugzilla/show_bug.cgi?id=59850)
was:
{{RDBPreparedStatementWrapper.close()}} currently calls {{close()}} on
associated results sets.
This is correct per JDBC spec, but hides implementation problems in the
underlying data source, thus is not helpful for testing.
> RDBPreparedStatementWrapper: do not hide implementation bugs
> ------------------------------------------------------------
>
> Key: OAK-4557
> URL: https://issues.apache.org/jira/browse/OAK-4557
> Project: Jackrabbit Oak
> Issue Type: Technical task
> Components: rdbmk
> Affects Versions: 1.2.17, 1.5.5, 1.4.5
> Reporter: Julian Reschke
> Assignee: Julian Reschke
>
> {{RDBPreparedStatementWrapper.close()}} currently calls {{close()}} on
> associated results sets.
> This is correct per JDBC spec, but hides implementation problems in the
> underlying data source, thus is not helpful for testing.
> Also add a unit test that observes whether the given {{PreparedStatement}}
> properly closes associated {{ResultSet}}s. (see
> https://bz.apache.org/bugzilla/show_bug.cgi?id=59850)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)