How to create wildcard query 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

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









Related Tutorials/Questions & Answers:
Advertisements