Trying to get a PluralAttributePath from a @MappedSuperclass throws org.hibernate.MappingException: Unknown collection role

Description

I'm trying to get the PluralAttributePath from a collection defined in a MappedSuperclass

Executing the following

throws the exception

Environment

None

Activity

Show:
Janario Oliveira
October 27, 2015, 9:42 PM
Edited

I've executed the test case from the pull request agaist master(5.1.0-SNAPSHOT)
https://github.com/hibernate/hibernate-orm/pull/1116/files#diff-50819d7e3643a1018e5bbf0e9c5fda3fR1

And it still in 5.1.0-SNAPSHOT

But I'm not able to change this bug

Steve Ebersole
October 28, 2015, 3:25 AM

As part of verifying that this issue affects 5.0, please just set the "Affects version". Leave the "verify-affects-5.0" label and leave the issue in "Awaiting Response" status; these are critical for us to be able to track these verifications and triage them. Thanks.

Steve Ebersole
October 29, 2015, 2:47 AM

Assigned to you Janario for now since you wrote the fix (pr). I'll come back and verify it

Steve Ebersole
October 29, 2015, 3:03 AM

Applied the PR. Thanks Janario!

Janario Oliveira
October 29, 2015, 12:22 PM

Thanks

Assignee

Janario Oliveira

Reporter

Oliver Ringel

Fix versions

Labels

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Affects versions

Priority

Major
Configure