[
https://issues.apache.org/jira/browse/PHOENIX-5659?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17008514#comment-17008514
]
Iwao AVE! commented on PHOENIX-5659:
------------------------------------
Thank you for the quick reply, Lars!
I have attached a new patch (PHOENIX-5659-2.patch).
It seems that Phoenix, like most other drivers, does not automatically close
the result set when rs.next() returns false, so the new test simply calls
rs.close() on the exhausted ResultSet.
Hope that was OK.
> Support Statement#closeOnCompletion()
> -------------------------------------
>
> Key: PHOENIX-5659
> URL: https://issues.apache.org/jira/browse/PHOENIX-5659
> Project: Phoenix
> Issue Type: Task
> Reporter: Iwao AVE!
> Priority: Major
> Attachments: PHOENIX-5659-2-master.patch, PHOENIX-5659-master.patch
>
>
> I am a member of [MyBatis|https://github.com/mybatis] team and a user
> [reported|https://github.com/mybatis/mybatis-3/issues/1351#issuecomment-569619849]
> that Phoenix does not support java.sql.Statement#closeOnCompletion() yet.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)