character « Criteria « JPA Q&A





1. Problem escaping characters using Criteria object    forum.hibernate.org

Hi, I have the following piece of generic code that does searches for various hibernate objects... ..... Code: Criteria crit = hsession.createCriteria(findObject.getClass()); Example ex = Example.create(findObject) ; ex.enableLike(); ex.ignoreCase(); ...