Re: Getting the current transaction id
Posted in 2004
Have you got this to work ? I built a datablade on Windows XP (dev copy of
9.40), installed it OK, but mi_get_transaction_id() seems to return a
constant, almost as if it is returning a session_id ! Have you managed to
try it on Solaris etc..
I can forward the blade code if required.
Regs,
Clive Haworth
"Claus Samuelsen" <csa@eye-bee-em.com> wrote in message
news:415e7150$0$55819$14726298@news.sunsite.dk...
> Clive Haworth wrote:
> > Hi.
> >
> > I need to get hold of the current transaction id. In oracle you can use
> > something like:
> >
> > select dbms_transaction.local_transaction_id from dual> >
> > This returns an identifier uniquely representing the current
transaction, or
> > null if not in a transaction.
> >
> > Does anyone know how to do this in IDS 9.20 or above?
> >
> >
>
> In IDS 9.40 a new function was added to milib: mi_get_transaction_id()
> returning id of current transaction.
>
>