You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Shaofeng SHI (JIRA)" <ji...@apache.org> on 2017/10/09 07:04:00 UTC
[jira] [Assigned] (KYLIN-2835) Unclosed resources in JdbcExplorer
[ https://issues.apache.org/jira/browse/KYLIN-2835?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shaofeng SHI reassigned KYLIN-2835:
-----------------------------------
Assignee: Jrex Ge
> Unclosed resources in JdbcExplorer
> ----------------------------------
>
> Key: KYLIN-2835
> URL: https://issues.apache.org/jira/browse/KYLIN-2835
> Project: Kylin
> Issue Type: Bug
> Reporter: Ted Yu
> Assignee: Jrex Ge
> Fix For: v2.3.0
>
>
> In loadTableMetadata():
> {code}
> Connection con = SqlUtil.getConnection(dbconf);
> {code}
> The Connection should be closed upon return.
> {code}
> ResultSet rs = dbmd.getTables(null, database, table, null);
> {code}
> The ResultSet should be closed upon return.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)