Re: XAResource implementation

From: joël Winteregg <joel(dot)winteregg(at)gmail(dot)com>
To: Kris Jurka <books(at)ejurka(dot)com>
Cc: Heikki Linnakangas <heikki(at)enterprisedb(dot)com>, pgsql-jdbc(at)postgresql(dot)org
Subject: Re: XAResource implementation
Date: 2007-11-17 17:01:14
Message-ID: 1195318874.5559.50.camel@hatman
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Hello Kris,

I saw your change on CVS (Rev 1.13 of PGXAConnection.java). Do you know
when it would be packaged with a new build number ?

Would it be postgresql-8.X-507.jdbcX.jar ?

Many thanks in advance !

Joël

On Wed, 2007-11-14 at 17:11 -0500, Kris Jurka wrote:
>
> On Tue, 13 Nov 2007, Heikki Linnakangas wrote:
>
> > Oh, I had forgotten about that. The difference is the close() between the
> > getConnection()s.
> >
> > I started having second doubts about that case you posted in June, so I
> > tested what Derby does if you call getConnection() twice, without a close in
> > between. You get an error ("Cannot close a connection while a global
> > transaction is still active."), so at least they consider it incorrect as
> > well.
>
> I'm not super happy that explicit close vs implicit close has different
> transactional behavior, but people really shouldn't be writing code like
> this, so I've applied your patch to 8.1, 8.2 and HEAD.
>
> Kris Jurka
>

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Kris Jurka 2007-11-18 23:15:04 Re: XAResource implementation
Previous Message Kris Jurka 2007-11-14 22:11:23 Re: XAResource implementation