public void addColumnIsNull ( String column ) { // PAW //SelectionCriteria c = ValueCriteria.buildNullCriteria(column, getAlias()); SelectionCriteria c = ValueCriteria . buildNullCriteria ( column , getUserAlias ( column ) ) ; c . setTranslateAttribute ( false ) ; addSelectionCriteria ( c ) ; }
Adds is Null criteria customer_id is Null The attribute will NOT be translated into column name