Support combined selection of entity and scalar values from MongoDB via JP-QL

Description

The MongoDB parser backend currently supports to either select an entity type or a projection of properties, but not both in one query at the same time. So e.g. the following query would fail:

(See SimpleQueriesTest#testSelectingCompleteEntityInProjectionQuery().

Environment

None

Assignee

Unassigned

Reporter

Gunnar Morling

Labels

None

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Suitable for new contributors

None

Pull Request

None

backportDecision

None

backportReEvaluate

None

Components

Fix versions

Priority

Minor
Configure