Project

General

Profile

Revision 1eca13fa

ID1eca13fafa584494a9300c1a6844d435ca5ae897
Parent c7637ad4
Child 44787444

Added by Andreas Kohlbecker over 1 year ago

adding missing MatchMode in createRestriction()

View differences:

cdmlib-persistence/src/main/java/eu/etaxonomy/cdm/persistence/dao/hibernate/common/CdmEntityDaoBase.java
672 672
            case END:
673 673
                restriction = Restrictions.ilike(propertyName, queryString, org.hibernate.criterion.MatchMode.END);
674 674
                break;
675
            case ANYWHERE:
675 676
            case LIKE:
676 677
                restriction = Restrictions.ilike(propertyName, matchMode.queryStringFrom(queryString), org.hibernate.criterion.MatchMode.ANYWHERE);
677 678
                break;

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)