Interface Escaper

  • All Known Implementing Classes:

    public interface Escaper
    An interface for special character escaping in queries for easy configuration of this matter.

    This is meant for the contents of string literals in where clauses, once they have been extracted. It's therefore not necessary to escape single quotes, unless of course they have some meaning to the search backend.

    Georges Racinet
    • Method Detail

      • escape

        String escape​(String s)
        Escapes the provided string
        the escaped string