File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Object Relational Mapping and the fly likes Hibernate QueryBuilder how to mimic 'like' query Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Hibernate QueryBuilder how to mimic Watch "Hibernate QueryBuilder how to mimic New topic

Hibernate QueryBuilder how to mimic 'like' query

Karthik Krishnamurthy
Ranch Hand

Joined: Feb 04, 2005
Posts: 118
I am learning this API now. I have code as under, but it does an exact match instead of a 'like'. So when I have a String JMeter, and I use Meter, it does not bring it back in the search result but it should. Any help greatly appreciated

Thank you

T Mishra
Ranch Hand

Joined: Apr 04, 2006
Posts: 108

Binding - similar post
Using Restrictions 'like' method- Javadocs

Tushar (SCJP 1.5)
I agree. Here's the link:
subject: Hibernate QueryBuilder how to mimic 'like' query
It's not a secret anymore!