commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dain Sundstrom (JIRA)" <j...@apache.org>
Subject [jira] Updated: (DBCP-228) [dbcp] Managed Connection support
Date Wed, 04 Jul 2007 00:57:04 GMT

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

Dain Sundstrom updated DBCP-228:
--------------------------------

    Attachment: ManagedConnection.patch

> [dbcp] Managed Connection support
> ---------------------------------
>
>                 Key: DBCP-228
>                 URL: https://issues.apache.org/jira/browse/DBCP-228
>             Project: Commons Dbcp
>          Issue Type: New Feature
>            Reporter: Dain Sundstrom
>         Attachments: ManagedConnection.patch
>
>
> 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.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message