Closing of Connection Isssue

In the consturctor of QueryContainer.java after everything is done. we have to invoke the close() method.Please check it.

public QueryContainer(String queryStatement, Connection connection,
int resultSetType, int resultSetConcurrency) throws SQLException {
this.queryStatement = queryStatement;
this.connection = connection;
this.resultSetType = resultSetType;
this.resultSetConcurrency = resultSetConcurrency;
init();
}

Yes, you are right. I’ve made an ticket for this and it will be handled on next maintenance release.

QueryContainer is one of the few classes that still need refactoring, We’ll probably do that too for next release.

Thanks!