You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Julian Reschke (JIRA)" <ji...@apache.org> on 2016/07/14 05:50:20 UTC
[jira] [Commented] (OAK-4557) RDBPreparedStatementWrapper: do not
hide implementation bugs
[ https://issues.apache.org/jira/browse/OAK-4557?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15376356#comment-15376356 ]
Julian Reschke commented on OAK-4557:
-------------------------------------
trunk: [r1752508|http://svn.apache.org/r1752508]
1.4: [r1752584|http://svn.apache.org/r1752584]
> 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
> Fix For: 1.5.6, 1.4.6
>
>
> {{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 an associated {{ResultSet}}. (see https://bz.apache.org/bugzilla/show_bug.cgi?id=59850)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)