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

Reply via email to