private static String replaceOperators ( String spel ) { if ( StringUtils . isBlank ( spel ) ) { return spel ; } return spel . replaceAll ( "==" , " = " ) . replaceAll ( "&&" , " and " ) . replaceAll ( "\\|\\|" , " or " ) ; }
Replace SPEL == && || to SQL = and or .