Always specify an XA error code when creating an XAException. Otherwise a transaction manager won't know what to do with the error and may have to asssume the worst.
Always specify an XA error code when creating an XAException.
Otherwise a transaction manager won't know what to do with the error
and may have to asssume the worst.

Patch by Heikki Linnakangas, analysis by Justin Bertram.

golovnin/pgjdbc,schlosna/pgjdbc,whitingjr/pgjdbc,lordnelson/pgjdbc,phillipross/pgjdbc,schlosna/pgjdbc,underyx/pgjdbc,jorsol/pgjdbc,whitingjr/pgjdbc,pgjdbc/pgjdbc,tivv/pgjdbc,rjmac/pgjdbc,lordnelson/pgjdbc,amozhenin/pgjdbc,sehrope/pgjdbc,zapov/pgjdbc,AlexElin/pgjdbc,amozhenin/pgjdbc,davecramer/pgjdbc,Gordiychuk/pgjdbc,jkutner/pgjdbc,panchenko/pgjdbc,bocap/pgjdbc,Gordiychuk/pgjdbc,lonnyj/pgjdbc,jorsol/pgjdbc,ekoontz/pgjdbc,bocap/pgjdbc,alexismeneses/pgjdbc,sehrope/pgjdbc,ekoontz/pgjdbc,pgjdbc/pgjdbc,jamesthomp/pgjdbc,thkoch2001/libpostgresql-jdbc-java,lordnelson/pgjdbc,amozhenin/pgjdbc,tivv/pgjdbc,rjmac/pgjdbc,davecramer/pgjdbc,pgjdbc/pgjdbc,phillipross/pgjdbc,alexismeneses/pgjdbc,underyx/pgjdbc,zemian/pgjdbc,AlexElin/pgjdbc,golovnin/pgjdbc,lonnyj/pgjdbc,jkutner/pgjdbc,zapov/pgjdbc,marschall/pgjdbc,AlexElin/pgjdbc,marschall/pgjdbc,sehrope/pgjdbc,zemian/pgjdbc,jorsol/pgjdbc,marschall/pgjdbc,jorsol/pgjdbc,thkoch2001/libpostgresql-jdbc-java,phillipross/pgjdbc,whitingjr/pgjdbc,panchenko/pgjdbc,davecramer/pgjdbc,thkoch2001/libpostgresql-jdbc-java,zapov/pgjdbc,pgjdbc/pgjdbc,golovnin/pgjdbc,jkutner/pgjdbc,davecramer/pgjdbc,zemian/pgjdbc,rjmac/pgjdbc,bocap/pgjdbc,jamesthomp/pgjdbc,jamesthomp/pgjdbc,Gordiychuk/pgjdbc,sehrope/pgjdbc,marschall/pgjdbc,underyx/pgjdbc,panchenko/pgjdbc