Re: making the XARessource serializable - Mailing list pgsql-jdbc

From Heikki Linnakangas
Subject Re: making the XARessource serializable
Date
Msg-id 46EE5482.9060603@enterprisedb.com
Whole thread Raw
In response to making the XARessource serializable  (teknokrat <teknokrat@yahoo.com>)
Responses Re: making the XARessource serializable
List pgsql-jdbc
teknokrat wrote:
> Is there any reason that the postgresql implementation of XAResource is
> not serializable? We are having issues with XARecovery in Arjuna because
> of this. What is required to make PGXAConnection serializable?

PGXAConnection represents a physical connection to the database, so you
certainly can't make that Serializable.

What kind of issues are you having in Arjuna? It can't depend on
serialization of XAResources; there's nothing in the spec saying an
XAResource implementation needs to be serializable, and a quick look at
other DBMS XAResource implementations suggests that they generally aren't.

--
  Heikki Linnakangas
  EnterpriseDB   http://www.enterprisedb.com

pgsql-jdbc by date:

Previous
From: teknokrat
Date:
Subject: making the XARessource serializable
Next
From: teknokrat
Date:
Subject: Re: making the XARessource serializable