openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Sutter (Updated) (JIRA)" <>
Subject [jira] [Updated] (OPENJPA-2135) Deprecate prepareForPooling
Date Tue, 21 Feb 2012 16:44:35 GMT


Kevin Sutter updated OPENJPA-2135:

    Issue Type: Sub-task  (was: Improvement)
        Parent: OPENJPA-2134
> Deprecate prepareForPooling
> ---------------------------
>                 Key: OPENJPA-2135
>                 URL:
>             Project: OpenJPA
>          Issue Type: Sub-task
>          Components: jdbc, performance
>    Affects Versions: 2.3.0, 2.2.1
>            Reporter: Kevin Sutter
>            Assignee: Kevin Sutter
> Now that we have determined that closing Connections was overkill during the prepareForPooling
processing when ConnectionRetainMode is set to "always" (OPENJPA-2134), maybe it's time to
kill the whole idea of prepareForPooling.  If application servers are doing their job correctly,
all that should be necessary is to call clear() on the EntityManager before pooling an EM.
 Instead of removing this public API immediately, I'm thinking we should mark it as deprecated
(just in case any app servers are still dependent on this processing).

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message