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

Allow casts in eager fetch result operators

Description

Sometimes, it's necessary to cast an entity in order to access a relation property that should be eagerly fetched. Therefore, the fetch result operators (FetchRequestOne, FetchRequestMany, FetchRequestBase) and the expression parsers (FetchExpressionNodeBase, FetchOneExpressionNode, FetchManyExpressionNode) should support ConvertExpressions.

That way, fetch specifications such as the following become possible if a LINQ provider supplies the necessary query operators:

(Before, this would lead to a NotSupportedException - the expression is too complex.)

Status

Assignee

Fabian Schmied

Reporter

Fabian Schmied

Labels

None

Components

Fix versions

Priority

Normal
Configure