[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=16544012#comment-16544012 ]

Pradhan Yash Sharma commented on OFBIZ-9839:
--------------------------------------------

Thank you, Jacques, for refactoring of other 4 methods I will create a Jira for the same.

> 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: Jacques Le Roux
>            Priority: Major
>             Fix For: 17.12.01
>
>         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
(v7.6.3#76005)