[
https://issues.apache.org/jira/browse/OFBIZ-9839?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16211058#comment-16211058 ]
Jacques Le Roux commented on OFBIZ-9839:
----------------------------------------
Hi Yash,
bq. While I was traversing the code found that these four (getTableNames, getColumnInfo, getIndexInfo, getReferenceInfo) methods are complicated and need refactoring. Proper resource handling is required and but due to its complex nature I cannot do it now, I am working in that direction.
Please create another Jira for the refactoring, thanks
> 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)