I think you can leave out the property-attribute. Niels
-----Original Message----- From: Steven Pannell [mailto:[EMAIL PROTECTED] Sent: vrijdag 4 november 2005 17:05 To: user-java@ibatis.apache.org Subject: Use isNull (in sqlMap) with a Long value? Hi, I want to make use of the isNull option in the sqlMap using a Long as the parameter class like this: <update id="update" parameterClass="java.lang.Long"> UPDATE log SET new = <isNotNull property="value"> 10 </isNotNull> <isNull property="value"> 1000 </istNull> where ID = #value# </update> But it does not work as I get the error java.lang.Long does not contain a method value. Anyone know how I can get this working? thanks, Steve