XA Interleaving Pull Requests

From: Bryan Varner <bvarner(at)polarislabs(dot)com>
To: List ‎[pgsql-jdbc(at)postgresql(dot)org]‎ <pgsql-jdbc(at)postgresql(dot)org>
Subject: XA Interleaving Pull Requests
Date: 2013-06-21 21:21:53
Message-ID: A2B35D2698B0C74F9B8333525E67ED013663696E@plindyexch02.polarislabs.lan
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Dave (and the rest of the list),

I finally made the time today to sift through our XA implementation code, separating it out so it does not interfere with the original PGXADataSource code, and coalescing the commits in a second branch of our github repository.

I think this should address all the concerns I made note of back in January & February.

I've issued two pull requests which make the following changes:

https://github.com/pgjdbc/pgjdbc/pull/64
* Respect the ${srcdir} in the ant build.xml.

https://github.com/pgjdbc/pgjdbc/pull/65
* Make minor changes to the class hierarchy for PGXADataSource
** Expose a pooled connections underlying Connection to sub-classes.
** Makes the abstract classes actually Abstract, and pushes the responsibility of creating an XAConnection object down to the concrete implementation (PGXADataSource).
** Introduces the PGFullXA* classes, which represent the alternate implementation we cooked up for fully supporting interleaving.
** LOTS of test cases! :-D

To use this implementation instead of the original PGXADataSource, just change your XA data source class to PGFullXADataSource.

I look forward to the review of these pull requests!

Regards,
-Bryan Varner

Browse pgsql-jdbc by date

  From Date Subject
Next Message REBruchs 2013-06-22 07:54:30 JDBC 4 Compliance
Previous Message Dave Cramer 2013-06-19 10:13:25 Re: getting database privileges