[ 
https://issues.apache.org/jira/browse/DERBY-3457?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kristian Waagan closed DERBY-3457.
----------------------------------


Closing the issue.

The reprepare logic in Connection.completeReset has been disabled for statement 
pooling environments. I have not yet been able to trigger the reprepare logic 
anyway, because the list of open statements is always empty.

> Closing a logical connection must close all associated logical statements
> -------------------------------------------------------------------------
>
>                 Key: DERBY-3457
>                 URL: https://issues.apache.org/jira/browse/DERBY-3457
>             Project: Derby
>          Issue Type: Task
>          Components: JDBC, Network Client
>    Affects Versions: 10.4.1.3
>         Environment: Client-server with statement pooling enabled in the 
> client driver.
>            Reporter: Kristian Waagan
>            Assignee: Kristian Waagan
>             Fix For: 10.4.1.3
>
>         Attachments: derby-3457-1a-stmt_closing.diff, 
> derby-3457-1a-stmt_closing.stat, derby-3457-1b-stmt_closing.diff, 
> derby-3457-1c-stmt_closing.diff, derby-3457-2a-stmt_registration.diff
>
>
> When a logical connection is closed, all open logical statements created by 
> this connection must be closed.
> The closing is important per the general principle of cleaning up resources, 
> but especially so in the case of statement pooling, as not closing the 
> logical statement can cause side effects on another logical connection 
> (sharing the same physical connection).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to