|
|
|
On Wed, Sep 8, 2010 at 6:23 AM, Kannan J
<[hidden email]> wrote: > Any ideas, anyone? I find it difficult to believe Ibatis has such a HUGE bug, but I don't see anything wrong in my code. Me too. Did you try it with JDBC? Did you try removing the "for update" part? Simplify the issue until it works, then build it back up to see where it breaks. Larry |
|
|
I don’t think it’s a bug since you seem to be the only one having
it – unless you have an uncommon configuration. Did you try the latest version? Otherwise, I can only recommend you to do as Larry said by
simplifying the issue. You can also post you configuration. That may help us. Christian De : [hidden email]
[mailto:[hidden email]] De la part de Kannan J
|
|
In reply to this post by old_as_a_fossil
Uh. No rows or empty rows. Which is it? Can you reproduce it in a unit
test that you can share? Have you tried to simplify it until it works? Have you tried jdbc without ibatis? You have to give us something to work with here. Obviously if queries just failed arbitrarily someone would have noticed by now, don't you think? Larry On 9/15/10, Kannan J <[hidden email]> wrote: > (Recap: Ibatis query returned empty rows when a row should be returned. I > was using select for update query.) > > I tried after removing the "for update" clause, still Ibatis query returned > no rows for several iterations, before finally returning a row. Bug in > Ibatis? > > thanks > Kannan > > --- On Wed, 8/9/10, Larry Meadors <[hidden email]> wrote: > > > From: Larry Meadors <[hidden email]> > Subject: Re: Ibatis query returns no rows even though it should. > To: [hidden email] > Date: Wednesday, 8 September, 2010, 6:05 PM > > > On Wed, Sep 8, 2010 at 6:23 AM, Kannan J > <[hidden email]> wrote: >> Any ideas, anyone? I find it difficult to believe Ibatis has such a HUGE >> bug, but I don't see anything wrong in my code. > > Me too. > > Did you try it with JDBC? > > Did you try removing the "for update" part? > > Simplify the issue until it works, then build it back up to see where it > breaks. > > Larry > > > -- Sent from my mobile device |
|
I had a similar issue, but I just forgot to set the auto commit to true :P
Simo http://people.apache.org/~simonetripodi/ http://www.99soft.org/ On Wed, Sep 15, 2010 at 4:36 PM, Larry Meadors <[hidden email]> wrote: > Uh. No rows or empty rows. Which is it? Can you reproduce it in a unit > test that you can share? Have you tried to simplify it until it works? > Have you tried jdbc without ibatis? > > You have to give us something to work with here. > > Obviously if queries just failed arbitrarily someone would have > noticed by now, don't you think? > > Larry > > > > On 9/15/10, Kannan J <[hidden email]> wrote: >> (Recap: Ibatis query returned empty rows when a row should be returned. I >> was using select for update query.) >> >> I tried after removing the "for update" clause, still Ibatis query returned >> no rows for several iterations, before finally returning a row. Bug in >> Ibatis? >> >> thanks >> Kannan >> >> --- On Wed, 8/9/10, Larry Meadors <[hidden email]> wrote: >> >> >> From: Larry Meadors <[hidden email]> >> Subject: Re: Ibatis query returns no rows even though it should. >> To: [hidden email] >> Date: Wednesday, 8 September, 2010, 6:05 PM >> >> >> On Wed, Sep 8, 2010 at 6:23 AM, Kannan J >> <[hidden email]> wrote: >>> Any ideas, anyone? I find it difficult to believe Ibatis has such a HUGE >>> bug, but I don't see anything wrong in my code. >> >> Me too. >> >> Did you try it with JDBC? >> >> Did you try removing the "for update" part? >> >> Simplify the issue until it works, then build it back up to see where it >> breaks. >> >> Larry >> >> >> > > -- > Sent from my mobile device > |
|
Administrator
|
In reply to this post by old_as_a_fossil
You'll need to submit a unit test that demonstrates the problem.
We have 1200 unit tests that return data from two databases and thousands of users doing the same from many more different databases....
Submit a test that demonstrates the problem. Cheers, Clinton
On Wed, Sep 15, 2010 at 3:45 AM, Kannan J <[hidden email]> wrote:
|
|
| Powered by Nabble | Edit this page |
