ofbiz-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacques Le Roux (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OFBIZ-9839) Using try-with-resources with JDBC objects
Date Thu, 19 Oct 2017 13:40:00 GMT

    [ 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

View raw message