ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steven Pannell <steven.pann...@zooplus.com>
Subject Use isNull (in sqlMap) with a Long value?
Date Fri, 04 Nov 2005 16:04:30 GMT
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


Mime
View raw message