CriteriaBuilder#concat(Expression<String>, Expression<String>) produces wrong SQL expressions

Description

The #concat method of CriteriaBuilder produces the wrong SQL statement on Oracle 10g and 11g using Oracle JDBC 11.2.0.3.

The following expressions

produces the following sql fragment (linebreaks inserted for readability:

Problem seems to be the second concat...

Environment

Oracle 10g, Oracle 11g

Assignee

Unassigned

Reporter

Michael Simons

Fix versions

None

Labels

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Major
Configure