Re: iBatis 3: dynamic sql and numeric property type problem

2010-06-07 Thread Larry Meadors
The ibatis project has moved and been renamed. It is no longer being maintained as an Apache project, but has moved (along with the development team) here: http://www.mybatis.org/ Please join us at the new location by joining the mailing list here: http://groups.google.com/group/mybatis-user L

Re: iBatis 3: dynamic sql and numeric property type problem

2010-06-07 Thread Andreas Niemeyer
Hi, I've another use case for a possible if check: - if the parameterType long it fails for the if check: Select id, descr, description from mega_t id = #{id} Thank you in advance, Andreas Andreas Niemeyer schrieb:

Re: iBatis 3: dynamic sql and numeric property type problem

2010-05-31 Thread Andreas Niemeyer
Sorry, I had a missunderstanding, it works this way: ... and x.id = #{id} ... Andreas Niemeyer schrieb: Hi, how can I deal with numeric class properties for dynamic sql in iBatis 3.x? In the older 2.x release there exist a `' tag and the user guide for 3.x only mention

Re: iBatis 3: dynamic sql and numeric property type problem

2010-05-31 Thread Larry Meadors
I think you can just say , 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 i