i want to search with name,email,id based on that suppose if they enter id then i need to serch with name or if they enter email i need to serch with mail or i want to serch with these 3 fields.
so pls give a suggesion for best search query in hibernate or sql.
Jump to Post
For hibernate you have a lot of examples here: http://hiddensciencex.blogspot.rs/2013/04/is2-hql-upiti-i-kriterijumi.html
But in order to help you more please write some code you already created.
All 2 Replies
We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.