You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit contains following changes:
New JPQL Grammar 3.2 (version matches upcoming Jakarta Persistence 3.2) and EclipseLink JPQL Grammar 4.1
New JPQL String expression category with related classes (like arithmetic expression)
New JPQL String operator || for string concatenation like JPQL CONCAT(....) function
Tests are available in JPQL parser and JPA JSE test module
EclipseLink issue is described at
Implement new JPQLGrammar for upcoming Jakarta Persistence 3.2 #1885 and JPA specification request at the JPQL || operator for string concatenation jakartaee/persistence#397
|| operator is handled at JPQL level, but translated into SQL function CONCAT(...) as not every database supports || or is mentioned as OR logical operator (MySQL).
Signed-off-by: Radek Felcman <radek.felcman@oracle.com>
JPQL has a
concat()
function. It would be nice to also allow the SQL-style||
operator.The text was updated successfully, but these errors were encountered: