On Mon, Mar 8, 2010 at 17:57, Stephen Boyd <[email protected]> wrote:
> var
>     opt: FbTransactionOptions;
> begin
>     opt := new FbTransactionOptions();
>     opt.TransactionBehavior := FbTransactionBehavior.ReadCommitted or
>                                FbTransactionBehavior.Wait or
>                                FbTransactionBehavior.Read or
>                                FbTransactionBehavior.Write;
>     FTrans := ServerDB.BeginTransaction(opt);
>
> The error occurs on the BeginTransaction call.  I am using Delphi Prism and
> version 2.5.2.0 of the .Net provider with Visual Studio 2008 and Firebird
> 2.1.3 on Windows 2003.  The exact same code works without problem on my
> development machine.  On my development machine I am using the same versions
> of Delphi Prism, .Net provider and Visual Studio.  Firebird is 2.0.5 on
> Linux and the client operating system is Windows 7 64-bit.

I think you want to specify only "FbTransactionBehavior.ReadCommitted
| FbTransactionBehavior.Wait | FbTransactionBehavior.Write" (or maybe
event without ".Write"), as else your combination doesn't make sense
to me.

-- 
Jiri {x2} Cincura (CTO x2develop.com)
http://blog.cincura.net/ | http://www.ID3renamer.com

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Firebird-net-provider mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to