ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David McReynolds <dmcreyno...@secureworks.net>
Subject Re: weird behavior
Date Wed, 22 Jul 2009 18:29:12 GMT
DOH!

There are only two kinds of programming errors: "stupid programmer
mistakes and stupid programmer mistakes".

Brandon Goodin wrote:
> perhaps you haven't specified a resultClass/resultMap?
>
> Brandon Goodin
>
>
> On Wed, Jul 22, 2009 at 12:38 PM, David McReynolds
> <dmcreynolds@secureworks.net <mailto:dmcreynolds@secureworks.net>> wrote:
>
>     Anyone know under what circumstances ibatis would fail to locate a
>     record when I can take the query from the log and run it and find the
>     record. The field I'm searching on is a simple integer.
>
>     Turned on debug for java.sql and ibatis. The query is logged,
>     along with
>     the parameter. The result set is empty. I take that query, from
>     the log,
>     paste it into an mysql session, change the "?" to the parameter
>     value I
>     get from the log, and behold, I get a result.
>
>     ---------------------------------------------------------------------
>     To unsubscribe, e-mail: user-java-unsubscribe@ibatis.apache.org
>     <mailto:user-java-unsubscribe@ibatis.apache.org>
>     For additional commands, e-mail: user-java-help@ibatis.apache.org
>     <mailto:user-java-help@ibatis.apache.org>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-java-unsubscribe@ibatis.apache.org
For additional commands, e-mail: user-java-help@ibatis.apache.org


Mime
View raw message