ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xianwinwin <xianwin...@gmail.com>
Subject Re: howto pass a Long argument to a query (isNotNull)
Date Tue, 22 Jan 2008 15:53:58 GMT

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.


Mime
View raw message