Page 1 of 1

interbase transaction

Posted: Fri 19 Mar 2010 21:17
by inageib
Hello,
when I set property "isolationlevel" of the UniTransaction component to "ilCustom" how I can write the paramter my self for interbase ?

thanks

Posted: Mon 22 Mar 2010 13:20
by Dimon
TUniTransaction doesn't support setting parameters because this option is specific only to InterBase server.
To solve the problem you can use internal object to set parameters, like this:

Code: Select all

(TDBAccessUtils.GetITransaction(UniTransaction) as TGDSTransaction).GetParams.Text := ...

Posted: Mon 22 Mar 2010 14:05
by inageib
ok but plz add it as a new feature

thanks

Posted: Fri 26 Mar 2010 08:05
by Dimon
We will investigate the possibility of adding this functionality in the near future. As soon as we solve this question we will let you know.

Posted: Fri 26 Mar 2010 12:14
by inageib
great thanks alot

I switched recently to unidac from another package and I like to continue use unidac for interbase