[hibernate-issues] [Hibernate-JIRA] Created: (HSEARCH-653) Like search help using HibernateTemplate

Jitender Saini (JIRA) noreply at atlassian.com
Sat Dec 25 05:56:05 EST 2010


Like search help using HibernateTemplate
----------------------------------------

                 Key: HSEARCH-653
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-653
             Project: Hibernate Search
          Issue Type: Improvement
          Components: query
    Affects Versions: 3.3.0.Final
            Reporter: Jitender Saini


Hi!, I'm new to hibernate and I've one issue regarding like search in Hibernate. Can any one tell me that How to perform like search on a field that is defined as Integer or BigInteger in POJO? e.g.

class Employee {
private Integer id;
private String name;
}

how to perform like search on ID using HQL or criteria queries from my search screen? If i try to perform in a normal way then it throws ClassCastException.

Please help me out as I'm stuck in this issue.

Jitender Saini

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list