Online Training Spring Hibernate Training in Delhi R Programming Training Course Big Data and Hadoop Training Java Training  
 

How to create wildcard query in Hibernate?

Ads

 
 

Share on Google+Share on Google+

Java Coder
How to create wildcard query in Hibernate?
1 Answer(s)      3 years 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

Ads
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


Ads