Examples of ignoreCase()


Examples of org.hibernate.criterion.SimpleExpression.ignoreCase()

   
    private List<?> getResultSet(Class<? extends Entity> entity, String field,
            String param, boolean ignoreCase) {
        SimpleExpression fieldRestriction = Restrictions.eq(field, param);
        if (ignoreCase) {
            fieldRestriction = fieldRestriction.ignoreCase();
        }
        return sessionFactory
            .getCurrentSession()
            .createCriteria(entity)
            .add(fieldRestriction)
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.