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 > <dmcreyno...@secureworks.net <mailto:dmcreyno...@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-unsubscr...@ibatis.apache.org > <mailto:user-java-unsubscr...@ibatis.apache.org> > For additional commands, e-mail: user-java-h...@ibatis.apache.org > <mailto:user-java-h...@ibatis.apache.org> > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-java-unsubscr...@ibatis.apache.org For additional commands, e-mail: user-java-h...@ibatis.apache.org