JPA Method
in javax.persistence.criteria.CriteriaBuilder

Expression<String> trim(
  CriteriaBuilder.Trimspec ts, 
  char t, 
  Expression<String> x
)


Create expression to trim character from a string.
Parameters:
ts - trim specification
t - character to be trimmed
x - expression for string to trim
Return:
trim expression
Since:
JPA 2.0