You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Jacques Le Roux (JIRA)" <ji...@apache.org> on 2017/12/08 12:57:00 UTC

[jira] [Commented] (OFBIZ-9839) Using try-with-resources with JDBC objects

    [ https://issues.apache.org/jira/browse/OFBIZ-9839?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16283487#comment-16283487 ] 

Jacques Le Roux commented on OFBIZ-9839:
----------------------------------------

Hi Yash,

Did you create another issue for the 4 methods? Should we not close here? 

> Using try-with-resources with JDBC objects
> ------------------------------------------
>
>                 Key: OFBIZ-9839
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-9839
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: Trunk
>            Reporter: Pradhan Yash Sharma
>            Assignee: Pradhan Yash Sharma
>         Attachments: OFBIZ-9839.patch, OFBIZ-9839.patch
>
>
> Proposal to use try with resources for SQL objects like ResultSet and other objects. SQL classes have AutoCloseable interface.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)