db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bernt M. Johnsen" <Bernt.John...@Sun.COM>
Subject Re: The values for XA_OK and XA_RDONLY
Date Wed, 21 Dec 2005 12:21:39 GMT
>>>>>>>>>>>> Bernt M. Johnsen wrote (2005-12-21 12:53:49):
> I find it strange (and poteontially dangerous) that
> 
> org.apache.derby.iapi.store.access.XATransactionController
> defines (public) that XA_OK = 2 and XA_RDONLY = 1

The same does org.apache.derby.iapi.store.raw.Transaction

> while the XA spec, the JTA spec and javax.transaction.xa.XAException
> defines XA_OK = 0 and XA_RDONLY = 3
> 
> does anyone have a reasonable explanation?
> -- 
> Bernt Marius Johnsen, Database Technology Group, 
> Sun Microsystems, Trondheim, Norway



-- 
Bernt Marius Johnsen, Database Technology Group, 
Sun Microsystems, Trondheim, Norway

Mime
View raw message