Subject | Re: [firebird-support] Single trans per connection? |
---|---|
Author | Helen Borrie |
Post date | 2012-06-08T10:04:30Z |
At 09:45 PM 8/06/2012, Kjell Rilbe wrote:
./heLen
>Hi,Absolutely not the case!
>
>Please remind me, is it the case that you can only have a single active
>transaction per connection?
>But you can have any number of commands/queries open for that singleYou can have any number of transactions running in one connection. You can have any number of active statements in any transaction. For example, for an interactive program you usually need to have long-living selector sets running in read-only read committed transactions, while you want rapid-fire, high contention modification work in read-write snapshot transactions...and so on.
>transaction and connection?
>This is in .Net and I'm using the FB provider version 2.6 or 2.7 I think.What any API host language interface supports (or not) is the business of client application, i.e., what the HL interface supports isn't always the whole of the API. The BDE, for example, dragged the InterBase API down about as low as it would go, to make it seem like Paradox or dBase III to the developers of early Delphi and C++Buillder. And the situation with the BDE is one connection, one transaction and autocommit on every operation. (Yep, I was alive in those days!) So your question is for the firebird-net-provider list. I'd be extremely surprised if, this far on in its life, the .net provider didn't fully support the Firebird API.
./heLen
>Kjell
>
>--
>--------------------------------------
>Kjell Rilbe
>DataDIA AB
>E-post: kjell@...
>Telefon: 08-761 06 55
>Mobil: 0733-44 24 64
>
>
>
>------------------------------------
>
>++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
>Visit http://www.firebirdsql.org and click the Resources item
>on the main (top) menu. Try Knowledgebase and FAQ links !
>
>Also search the knowledgebases at http://www.ibphoenix.com
>
>++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>Yahoo! Groups Links
>
>
>