↧
Answer by alex valuiskyi for Criteria API concat 3 fields value
You can add field annotated with @Formula to the entity @Formula("concat(fam, name, otch)") private String fullName; where fam, name, otch are columns names. And use it this way Predicate predicate =...
View ArticleCriteria API concat 3 fields value
How to make a concatenation of 3 fields? I want to make a search by input string. Expressions like %firstName%LastName%Patr% with different orders possible %LastName%Patr%firstName% etc How can i do...
View Article