We're updating the issue view to help you get more done. 

Invalid identifiers generated in org.hibernate.engine.internal.JoinSequence

Description

The fix for introducted the following alias in the generated SQL statement

1 final String alias = "_" + aliasNumber + "_" + column;

At least for Derby that is not a valid identifier and causes an SQL syntax error ("An ordinary identifier must begin with a letter and contain only letters, underscore characters (_), and digits"), possibly there are other RDMBS affected.

Environment

None

Status

Assignee

Christian Beikov

Reporter

Moritz Bechler

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

5.2.3

Priority

Major