jdbc-protolib/src/main/java/com/streamsets/pipeline/lib/jdbc/parser/sql/SQLParserUtils.java
private static String formatValue(String value) {
    // The value can either be null (if the IS keyword is present before it or just a NULL string with no quotes)
    if (value == null || NULL_STRING.equalsIgnoreCase(value)) {
      return null;
    }
    String returnValue = format(value);
    return returnValue.replaceAll("''", "'");
  }
private static String formatValue(String value) {
    // The value can either be null (if the IS keyword is present before it or just a NULL string with no quotes)
    if (value == null || NULL_STRING.equalsIgnoreCase(value)) {
      return null;
    }
    String returnValue = format(value);
    return returnValue.replaceAll("''", "'");
  }
private static String formatValue ( String value ) { // The value can either be null (if the IS keyword is present before it or just a NULL string with no quotes) if ( value == null || NULL_STRING . equalsIgnoreCase ( value ) ) { return null ; } String returnValue = format ( value ) ; return returnValue . replaceAll ( "''" , "'" ) ; }
Unescapes strings and returns them.
Unescapes strings and returns them .