Re: [Firebird-net-provider] "Parallel transactions" Exception with FbBatchExecution withinTransactionScope

2009-03-31 Thread Jiri Cincura
On Tue, Mar 24, 2009 at 14:41, Metod Test wrote: > Can we specify to FbBatchExecution to use the ambiant transaction ? Short: No. Long: Maybe. The FbBatchExecution is managing transactions inside. Thus tweaking/removing this may get the expected result. But also take into account, that not all co

[Firebird-net-provider] "Parallel transactions" Exception with FbBatchExecution withinTransactionScope

2009-03-24 Thread Metod Test
Hi ! I would like to use FbBatchExecution inside TransactionScope to rollback test datas after each unit test, but i have the following exception : "System.InvalidOperationException : A transaction is currently active. Parallel transactions are not supported." Can we specify to FbBatchExecution t

Re: [Firebird-net-provider] Parallel transactions

2007-03-05 Thread Carlos Guzmán Álvarez
Hello: > yes, they are, I suppose. > I am calling them parallel transactions because the exception i am > getting reads like this: > "A transaction is currently active. Parallel transactions are not > supported." > and this i get at the line where i try to begin transaction2. You can't o parall

Re: [Firebird-net-provider] Parallel transactions

2007-03-05 Thread manish shukla
yes, they are, I suppose. I am calling them parallel transactions because the exception i am getting reads like this: "A transaction is currently active. Parallel transactions are not supported." and this i get at the line where i try to begin transaction2. Manish On 3/5/07, Marat SKD <[EMAIL P

Re: [Firebird-net-provider] Parallel transactions

2007-03-05 Thread Marat SKD
These are nested transactions, aren't they? Marat > Hi Jiri, > > thanks for response.Let me again explain the scenario, i am trying for: > > FbTransaction transaction1 = FbConnection.BeginTransaction("ADDITION"); > //do something > for(...) > { > FbTransaction transaction2 =

Re: [Firebird-net-provider] Parallel transactions

2007-03-05 Thread manish shukla
Hi Jiri, thanks for response.Let me again explain the scenario, i am trying for: FbTransaction transaction1 = FbConnection.BeginTransaction("ADDITION"); //do something for(...) { FbTransaction transaction2 = FbConnection.BeginTransaction ("UPDATION"); //do another tran

Re: [Firebird-net-provider] Parallel transactions

2007-03-05 Thread Jiri Cincura
manish shukla wrote: > Hi, > > I think parallel transactions are not supported by .net provider. > So, is there any way to achieve this? It depends on your understanding of term "parallel transactions". -- Jiri {x2} Cincura http://blog.vyvojar.cz/jirka/ | http://www.ID3renamer.com ---

[Firebird-net-provider] Parallel transactions

2007-03-05 Thread manish shukla
Hi, I think parallel transactions are not supported by .net provider. So, is there any way to achieve this? I want to have something like this: FbTransaction transaction1 = FbConnection.BeginTransaction("ADDITION"); //do something FbTransaction transaction2 = FbConnection.BeginTransaction("U