protected static String quote(final String value) {
        if (value == null || value.equals("null")) {
            return "null";
        } else if (value.startsWith("'") && value.endsWith("'")) {
            return value;
        } else {
            // Quote and escape any
            return "'" + value.replace("'", "''") + "'";
        }
    }
Add single quotes around a value.

@param value
@return
stroom-test-common/src/main/java/stroom/test/common/util/db/AbstractSingleFlywayMigrationTest.java