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