HQL: Sql syntax exception when joining a Map<Entity,Component>

Description

The following HQL

will generate the SQL Query

which has syntax error.

I've uploaded the test case

Environment

MySQL 5.7

Activity

Show:
MarcinD
July 24, 2016, 10:22 PM

Also happens with Postgresql and Hibernate 5.0.8 -> all queries for the child object fails if there is a @MapKeyJoinColumn based relation in the parent object. This worked fine in v4.3

Vlad Mihalcea
July 27, 2016, 11:40 AM
Edited

PR applied upstream. , you might be interested in this fix as well.

Gail Badner
March 15, 2017, 12:21 AM

Fixed in 5.1 branch as well.

Assignee

Andrea Boriero

Reporter

unlimitedsola

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Major
Configure