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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Nicolas Malin (Jira)

    [ 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)