Project

General

Profile

Revision f54d835b

IDf54d835b33b41755e48cdd22b6513eaa4fb25205
Parent c1f34da9
Child c40f420c

Added by Andreas Kohlbecker over 1 year ago

Revert "adding missing MatchMode in createRestriction()"

This reverts commit 1eca13fafa584494a9300c1a6844d435ca5ae897.

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:
676 675
            case LIKE:
677 676
                restriction = Restrictions.ilike(propertyName, matchMode.queryStringFrom(queryString), org.hibernate.criterion.MatchMode.ANYWHERE);
678 677
                break;

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)