Re: [Firebird-net-provider] DBConcurrencyException

2008-01-25 Thread Jiri Cincura
On 1/25/08, paha [EMAIL PROTECTED] wrote: Hi Jiri, i cannot access tracker right now, is there any maintenance scheduled? I try it once more later. I don't know. Right now tracker is working. No rush, ... -- Jiri {x2} Cincura (Microsoft Student Partner) http://blog.vyvojar.cz/jirka/ |

Re: [Firebird-net-provider] DBConcurrencyException

2008-01-25 Thread paha
Jiri Cincura wrote: I don't know. Right now tracker is working right now indeed :) ...i left some words, we can talk about it, if find my suggestions reasonable (or vice versa) :) -- View this message in context: http://www.nabble.com/DBConcurrencyException-tp13530573p15083943.html

Re: [Firebird-net-provider] DBConcurrencyException

2008-01-24 Thread Jiri Cincura
Hi, sorry for kicking this thread up, but I'm trying to solve this issue and I have no reply from reporter in tracker and I want to agree, that I'm doing the fixture right. paha, if you can, reply in tracker [DNET-126], 'cause I'll be able to do the fix and close issue. Thanks. -- Jiri {x2}

Re: [Firebird-net-provider] DBConcurrencyException

2008-01-24 Thread paha
Hi Jiri, i cannot access tracker right now, is there any maintenance scheduled? I try it once more later. -- View this message in context: http://www.nabble.com/DBConcurrencyException-tp13530573p15082607.html Sent from the firebird-net-provider mailing list archive at Nabble.com.

Re: [Firebird-net-provider] DBConcurrencyException

2007-11-02 Thread paha
Jiri Cincura wrote: On 11/1/07, paha [EMAIL PROTECTED] wrote: I've also read an interesting remark to DBConcurrencyException in MSDN When performing batch updates with the ContinueUpdateOnError property of the DataAdapter set to true, this exception is thrown if all row updates fail.

Re: [Firebird-net-provider] DBConcurrencyException

2007-11-02 Thread paha
Jiri Cincura wrote: Oh, now I understand. I was almost sleeping, so I was thinking wrong. So the main idea behind this is, when I get error, let the row untouched (without AcceptChanges) so I'll be able to repeat the call to DB, right? Bingo :)) . I don't know if SqlDataAdapter does so

Re: [Firebird-net-provider] DBConcurrencyException

2007-11-02 Thread Jiri Cincura
On 11/2/07, Carlos [EMAIL PROTECTED] wrote: We should echeck what is being done by Sql Client if possible, and do the same thing. I agree. But I thread we're talking about more than one problem, so it's a little bit hard to keep what's going on. Maybe we can split prolems into seprate threads

Re: [Firebird-net-provider] DBConcurrencyException

2007-11-02 Thread Carlos
Hello: Maybe we can split prolems into seprate threads or create tracker items and solve problems there. What do you think? putting them into the tracker will be the best. -- Carlos Guzmán Álvarez Vigo-Spain Blog: http://carlosga.wordpress.com/ FirebirdClient :

Re: [Firebird-net-provider] DBConcurrencyException

2007-11-02 Thread Jiri Cincura
On 11/2/07, paha [EMAIL PROTECTED] wrote: You are 100% right, i asked the same questions yesterday on russian forum to know, how sqladapter performs, but still no response. What i can say for sure, if you get DBConcurrencyException, you definitely should have something in

Re: [Firebird-net-provider] DBConcurrencyException

2007-11-02 Thread Jiri Cincura
No Jiri, i mean, when we have ContinueOnError = true , and if we throw any exception or not, doesn't matter, we should call AcceptChanges (of course if AcceptChangesDuringUpdate = true) only for those rows, that have no error. As i said, imagine you have ContinueOnError=true and 2 rows violate

Re: [Firebird-net-provider] DBConcurrencyException

2007-11-02 Thread paha
Concerning the second part of my suggestion. Of course i can achieve desired goals by setting AcceptChangesDuringUpdate= false and then after Update looping throw rows committing good rows, and leaving bad rows aside. Of course it would mean one extra loop for me what is not a problem for small

Re: [Firebird-net-provider] DBConcurrencyException

2007-11-02 Thread Carlos
Hello: This may be not big problem to change. If there's no objection, I can do this. We should echeck what is being done by Sql Client if possible, and do the same thing. -- Carlos Guzmán Álvarez Vigo-Spain Blog: http://carlosga.wordpress.com/ FirebirdClient :

Re: [Firebird-net-provider] DBConcurrencyException

2007-11-02 Thread paha
I've got confirmation, that SqlDataAdapter do throws DBConcurrencyException when all row updates fail in ContinueUpdateOnError=true mode, and erroneous rows are not committed (RowVersion remains Modified). -- View this message in context:

Re: [Firebird-net-provider] DBConcurrencyException

2007-11-02 Thread paha
Jiri Cincura wrote: On 11/2/07, paha [EMAIL PROTECTED] wrote: Correct, but i would like to get from provider original localized messages for standard exceptions like concurrency to identify the exception itself, not to show it direct to user ;-) . It is not perfect, and must be avoided

Re: [Firebird-net-provider] DBConcurrencyException

2007-11-02 Thread paha
paha wrote: Could you give me direct link to bugtracker please :) I found it -- View this message in context: http://www.nabble.com/DBConcurrencyException-tf4731950.html#a13544215 Sent from the firebird-net-provider mailing list archive at Nabble.com.

Re: [Firebird-net-provider] DBConcurrencyException

2007-11-02 Thread Jiri Cincura
On 11/2/07, Carlos [EMAIL PROTECTED] wrote: putting them into the tracker will be the best. OK. Please, Paha, can you put every single problme into tracker, with description (try to use as much as possible info from this thread, etc.)? We'll look at it and it will be more clear. You can assing

Re: [Firebird-net-provider] DBConcurrencyException

2007-11-02 Thread Jiri Cincura
On 11/2/07, paha [EMAIL PROTECTED] wrote: Jiri Cincura wrote: Oh, now I understand. I was almost sleeping, so I was thinking wrong. So the main idea behind this is, when I get error, let the row untouched (without AcceptChanges) so I'll be able to repeat the call to DB, right?

Re: [Firebird-net-provider] DBConcurrencyException

2007-11-02 Thread paha
Jiri Cincura wrote: One more little question, also about this Exceptions. What do you think about throwing localized messages? (I mean storing once (new DBConcurrencyException()).Message, (new DataException()).Message and so on somewhere in local dictionary, and using them instead of

Re: [Firebird-net-provider] DBConcurrencyException

2007-11-02 Thread paha
Jiri Cincura wrote: On 11/2/07, paha [EMAIL PROTECTED] wrote: You are 100% right, i asked the same questions yesterday on russian forum to know, how sqladapter performs, but still no response. What i can say for sure, if you get DBConcurrencyException, you definitely should have

Re: [Firebird-net-provider] DBConcurrencyException

2007-11-02 Thread paha
Carlos Guzmán Álvarez ™ wrote: Hello: This may be not big problem to change. If there's no objection, I can do this. We should echeck what is being done by Sql Client if possible, and do the same thing. You are 100% right, i asked the same questions yesterday on russian forum to

Re: [Firebird-net-provider] DBConcurrencyException

2007-11-01 Thread paha
I've also read an interesting remark to DBConcurrencyException in MSDN When performing batch updates with the ContinueUpdateOnError property of the DataAdapter set to true, this exception is thrown if all row updates fail. In this case, this DBConcurrencyException contains DataRow objects for

Re: [Firebird-net-provider] DBConcurrencyException

2007-11-01 Thread Jiri Cincura
On 11/1/07, paha [EMAIL PROTECTED] wrote: I've also read an interesting remark to DBConcurrencyException in MSDN When performing batch updates with the ContinueUpdateOnError property of the DataAdapter set to true, this exception is thrown if all row updates fail. In this case, this