Dynamic Query in Hibernate. Inputs will change as per User enter
I am using hibernate with spring frame work. I have a problem that i have a search screen from where user can enter values in five fields, now it is totaly depend on user that user enters one, two or what combination of fields. Now开发者_Go百科 i have problem to creating the dynamic Query according to the User inputs.
This looks like a job for Hibernate Criteria API.
精彩评论