geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lin Sun (JIRA)" <>
Subject [jira] Commented: (GERONIMO-2188) Need to configure CommitBeforeAutoCommit=true for Database Commits in Oracle
Date Thu, 20 Jul 2006 18:29:14 GMT
    [ ] 
Lin Sun commented on GERONIMO-2188:

I went ahead and implemented the option 1.   I decided to add 1 AbstractXADataSourceMCF constructor
that takes 3 parms and keep the existing AbstractXADataSourceMCF constructor untouched.  
I also added 2 constructors for the ManagedXAConnection class with the additional commitBeforeAutoCommit
parm at the end.   This way the change won't affect other vendors' wrapper.

The change are in both connector and oracle wrapper.

I have tested the change with oracle (XA and local) wrappers, and DB2 XA wrapper, using the
daytrader sample.  All are working fine and I see  orders immediately committed to the orderejb

Please review and apply the patch to Tranql.

Thanks, Lin

> Need to configure CommitBeforeAutoCommit=true for Database Commits in Oracle
> ----------------------------------------------------------------------------
>                 Key: GERONIMO-2188
>                 URL:
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: connector
>    Affects Versions: 1.1.1
>            Reporter: Krishnakumar B
>         Assigned To: Donald Woods
>         Attachments: G2188.patch
> We have to configure CommitBeforeAutCommit="true" property exclusively in the database
connection pool plan, to have the ejb -based transactions immediately committed for oracle
database. Otherwise it only commits transaction when  the server  shuts-down. This problem
is not faces with Derby database.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message