[hibernate-issues] [Hibernate-JIRA] Commented: (HSEARCH-653) Like search help using HibernateTemplate
Sanne Grinovero (JIRA)
noreply at atlassian.com
Sat Dec 25 08:17:05 EST 2010
[ http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-653?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=39431#action_39431 ]
Sanne Grinovero commented on HSEARCH-653:
-----------------------------------------
Hello, please use the forums for usage questions: https://forum.hibernate.org/viewforum.php?f=9
> 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