private String escapeParameter(Object value) {
    return DBAccessorImpl.escapeParameter(value, databasePlatform);
  }
Gets an escaped version of the specified value suitable for including as a
parameter when building statements.

@param value
         the value to escape
@return the escaped value
ambari-server/src/main/java/org/apache/ambari/server/orm/helpers/dbms/GenericDbmsHelper.java