Java: JPQL search -similar- strings

Posted by bguiz on Stack Overflow See other posts from Stack Overflow or by bguiz
Published on 2010-06-02T07:16:44Z Indexed on 2010/06/02 7:33 UTC
Read the original article Hit count: 258

Filed under:
|
|
|
|

What methods are there to get JPQL to match similar strings?

By similar I mean:

  • Contains: search string is found within the string of the matches entity
  • Case-insensitive
  • Small mispellings: e.g. "arow" matches "arrow"

I suspect the first two will be easy, however, I would appreciate help with the last one

Thank you

© Stack Overflow or respective owner

Related posts about java

Related posts about sql