trim(x) - JPA CriteriaBuilder's method
Create expression to trim blanks from both ends of a string.
- Parameters:
-
x
- expression for string to trim
- Returns:
- trim expression
- Since:
- JPA 2.0
See a comparison of Hibernate, EclipseLink, OpenJPA, DataNucleus, MySQL, PostgreSQL, Derby, HSQLDB, DB4O by Versant, H2 Database, SQLite and ObjectDB
in the JPA Benchmark.
x
- expression for string to trim