Class cast exception thrown when trying to access Embedded type relationship path in Tuple

Description

When attempting to traverse a property path without using the generated Metamodel, a ClassCastException in the domain when the mapping is as follows:

And the path is accessed in the following way

When the join for the embedded type is accessed using a Metamodel derived path, this works as expected.

I've attached a test case & stack trace generated illustrating both.

Environment

Tested on Linux Suse OS using maven 3.1.1

Status

Assignee

Steve Ebersole

Reporter

Matt Todd

Fix versions

Labels

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Affects versions

Priority

Major
Configure