I think you can just say <if test="id != -1">, but I haven't done this exact thing yet.
Since we're using ognl for expressions, here's where I'd look: http://www.opensymphony.com/ognl/html/LanguageGuide/index.html Also, you should join and post to the new list at google: http://groups.google.com/group/mybatis-user instead. At this point, there are no plans to continue the ibatis project at Apache, the project (including the development team) has moved and it will live on as mybatis at google code instead. Larry --------------------------------------------------------------------- To unsubscribe, e-mail: user-java-unsubscr...@ibatis.apache.org For additional commands, e-mail: user-java-h...@ibatis.apache.org