public void addNotBetween ( Object attribute , Object value1 , Object value2 ) { // PAW // addSelectionCriteria(ValueCriteria.buildNotBeweenCriteria(attribute, value1, value2, getAlias())); addSelectionCriteria ( ValueCriteria . buildNotBeweenCriteria ( attribute , value1 , value2 , getUserAlias ( attribute ) ) ) ; }
Adds NOT BETWEEN criteria customer_id not between 1 and 10