db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bryan Pendleton <bpendle...@amberpoint.com>
Subject Re: NetXAResource - duplicate constants?
Date Wed, 22 Feb 2006 23:08:17 GMT
Daniel John Debrunner wrote:
>  the client
> should not have its own set of constants, and instead just use the ones
> defined in XAException. 

I agree. I had the same reaction when I was reading an early version
of the patch for DERBY-960: see

XARETVAL_XARDONLY and XARETVAL_XAOK in NetXAResource.java seem to
duplicate the values XA_OK and XA_RDONLY from

+1 to simply using the constants defined in
javax.transaction.xa.XAException and javax.transaction.xa.XAResource
instead of defining duplicate constants in NetXAResource.java.



View raw message