Export to GitHub

mybatisnet - issue #30

isGreaterThan does not work with Enumerations


Posted on Apr 23, 2011 by Swift Horse

MyBatis.NET 1.6.2

the operator isGreaterThan doesn't work when used with enummerations i have the snippet bellow in a dynamic statement

<isGreaterThan property="Status" compareValue="-1" prepend="AND"> STATUS = #Status# </isGreaterThan>

the condition is evaluted as true even if i set the Status property as ProblemeStatus.None( equivalent to -1)

Status: New

Labels:
Type-Defect Priority-Low