locate(x, pattern, from) - JPA CriteriaBuilder's method
Method javax.persistence.criteria.CriteriaBuilder
Expression<Integer> locate(
Expression<String> x,
String pattern,
int from
)
- Parameters:
-
x
- expression for string to be searched -
pattern
- string to be located -
from
- position at which to start search
- Returns:
- expression corresponding to position
- Since:
- JPA 2.0