Java Coder
How to create wildcard query in Hibernate?
1 Answer(s)      a year and 5 months ago
Posted in : Hibernate

Hi,

I am new in Hibernate and I have to create a query using wildcard. How to create wildcard query in Hibernate?

Thanks

Advertisement
View Answers

January 29, 2014 at 7:11 PM


Hi,

For creating wildcard query you can use:

Restrictions.like()

Check the example: Hibernate Criteria Wildcard.

Thanks