Subject | Re: [firebird-support] Locks while running C# code |
---|---|
Author | Helen Borrie |
Post date | 2003-07-31T23:06:49Z |
At 03:43 PM 31/07/2003 +0100, you wrote:
trying to make your connections via Windows local connect?
queries are operating on same or different tables.
it's pretty unlikely anyone else could figure it out, either. You'll
probably find more useful help with your C# startup procedure by asking in
the firebird-vb or the .NETProvider channels...this channel here is the
database support channel.
understand a bit about transactions...
heLen
>Hello All,That sounds horribly inefficient.
>I'm facing a problem while executing more than 1 simultaneous queries thru
>C# code.
>I'm calling 2 select stored procedures from my C# code. All the
>boiler-plate code is in a class having static methods. That is, opening of
>connetction, beginning transaction, making parameters & command objects.
>After query execution, I'm committing the txn, and closing the connection.
>The problem is that both call are asynchronous, it can extend up to moreNot sure quite what this means.
>than 2 calls as well.
>Which ever of the call executes first, it fetches the data, the other oneIs your application running on the same machine as the server and are you
>hangs.
trying to make your connections via Windows local connect?
> I don't know to handle up with this situation. The isolation level I'mFirebird doesn't support ReadUncommitted.
> setting to ReadUncommitted,
>just in case it requires,Everything you do in Firebird requires a transaction, regardless of whether
>however both of queries fetches data from different tables.
queries are operating on same or different tables.
>I'm not able to figure out what else should be done, apart from committingUntil you give details of your network setup, connection parameters, etc.,
>txn.
it's pretty unlikely anyone else could figure it out, either. You'll
probably find more useful help with your C# startup procedure by asking in
the firebird-vb or the .NETProvider channels...this channel here is the
database support channel.
>Please help me in making out this code working. All of the storedOnce you get your connectivity sorted out, you're going to need to
>procedures are individually working fine.
understand a bit about transactions...
heLen