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 The values for XA_OK and XA_RDONLY
Date Wed, 21 Dec 2005 11:53:49 GMT
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
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

Mime
View raw message