I found %% expression on spring batch source. Is this SpEL? How do I use %% expression?
protected String getQuery(String base) {
return StringUtils.replace(base, "%PREFIX%", tablePrefix);
}
I found %% expression on spring batch source. Is this SpEL? How do I use %% expression?
protected String getQuery(String base) {
return StringUtils.replace(base, "%PREFIX%", tablePrefix);
}
This is not spel. It's used to replace the string with some target value. For example,
String base = "How are me?";
String target = "me";
String replacement = "you";
String result = StringUtils.replace(base, target, replacement);