Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

wildcard search

 
Vaibhav Chauhan
Ranch Hand
Posts: 115
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
please tell me how to to wildcard search using prepared statement .....what should be the query as ? looks for exact match of the word.....

please help me in this regard.
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Include the wildcard parameter in your bind variable. i.e.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic