• Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:


      This patch adds support for pooling of ManagedConnections. A managed connection is responsible for managing a database connection in a transactional environment (typically called "Container Managed"). A managed connection opperates like any other connection when no gloabal transaction (a.k.a. XA transaction or JTA Transaction) is in progress. When a global transaction is active a single physical connection to the database is used by all ManagedConnections accessed in the scope of the transaction. Connection sharing means that all data access during a transaction has a consistent view of the database. When the global transaction is committed or rolled back the enlisted connections are committed or rolled back.

      This patch supports full XADataSources and non-XA data sources using local transaction semantics. non-XA data sources commit and rollback as part of the transaction but are not recoverable in the case of an error because they do not implement the two-phase commit protocol.

      The patch includes test cases and javadoc comments.


        Dain Sundstrom created issue -
        Dain Sundstrom made changes -
        Field Original Value New Value
        Attachment ManagedConnection.patch [ 12361091 ]
        Phil Steitz added a comment -

        Patch applied. Thanks!

        Phil Steitz added a comment - Patch applied. Thanks!
        Phil Steitz made changes -
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Henri Yandell made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        1d 13h 17m 1 Phil Steitz 05/Jul/07 14:13
        Resolved Resolved Closed Closed
        263d 17h 58m 1 Henri Yandell 25/Mar/08 08:11


          • Assignee:
            Dain Sundstrom
          • Votes:
            0 Vote for this issue
            0 Start watching this issue


            • Created: