This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
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

Win a copy of Building Microservices this week in the Design forum!
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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Hibernate QueryBuilder how to mimic 'like' query
It's not a secret anymore!