D'oh! Thanks Chris.
Christopher Lamey wrote:
>
>
>> # User.java #
>> public class User implements java.io.Serializable {
>> private String userName;
>>
>> public String getUserName() { return this.userName; }
>> public void setUserName(String s) { this.userName = userName; }
>> }
>
> Should the setter do this?
>
> public void setUserName(String s) { this.userName = s; }
>
> Cheers,
> Chris
>
>
>
--
View this message in context:
http://www.nabble.com/ueryForObject-returns-bean-with-null-properties-tp15029119p15030204.html
Sent from the iBATIS - User - Java mailing list archive at Nabble.com.