ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Larry Meadors <larry.mead...@gmail.com>
Subject Re: Issue with SQL query in ibatis
Date Fri, 20 Feb 2009 21:02:05 GMT
Sorry man, but this is wrong in so many ways. :-/

Please, please, please: Read the ibatis user's guide.

Also, a getter like getBLAH will result in a property named BLAH, not bLAH.

I think almost every single ibatis example ever written will show the
inline syntax for parameters as #BLAH# (for a getBLAH() method).

Your first sql select is kind of like saying this:

select * from some_table where 1=1

Not exactly what you want, I hope...

Larry

Mime
View raw message