[Mulgara-dev] ItqlIntepreterBean/TqlInterpreter/JTA
Life is hard, and then you die
ronald at innovation.ch
Wed Feb 6 03:43:18 UTC 2008
I've been looking at the latest mulgara in the jta branch (mgr-73
branch), and hit upon some questions regarding the current
ItqlInterpreterBean and TqlInterpreter.
First of all, I see that ItqlInterpreterBean is deprecated; but it has
been changed in incompatible ways (there is a compile-time
incompatibility because of the getLastError() being renamed to
getLastException(), and there are run-time incompatibilities too, i.e.
the same app code that works with 1.1.1 doesn't work with trunk). Is
ItqlInterpreterBean supposed to be backwards compatible?
Second, am I right correct in understanding that TqlAutoIntepreter is
sort of interim replacement for ItqlInterpreterBean, but that the real
move is for apps to start using Connection and TqlInterpreter instead?
Part of my questions are motivated by the need to get at the Session
in order to be able to get the XAResourceC - TqlAutoIntepreter won't
let me do that, and the ItqlInterpreterBean returns null for the
session unless the session was explicitly passed in, so it seems the
TqlInterpreter+Connection is the only way to go.
Cheers,
Ronald
More information about the Mulgara-dev
mailing list