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.
Hari_11
0
Newbie Poster
Recommended Answers
Jump to PostFor 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.
Regards, Mike.
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.