Thank you Jeff - this solved my question!
Tou could do this:
<select id="secuser.select_user_group" parameterClass="java.lang.Long"
resultMap="SecUser_group">
// query here
<isParameterPresent prepend="AND">
SU.userId=#value#
</isParameterPresent>
</select>
Jeff Butler
--
View this message in context:
http://www.nabble.com/howto-pass-a-Long-argument-to-a-query-%28isNotNull%29-tp14954009p15021710.html
Sent from the iBATIS - User - Java mailing list archive at Nabble.com.
