Neo4j: Don't create embedded queries for entities

Description

In Neo4jEntityQueries, createEmbeddedNodeQuery is created also if the given EKM represents an entity rather than an embeddable. That seems superfluous, avoiding it will save some bytes.

Environment

None

Assignee

Unassigned

Reporter

Gunnar Morling

Labels

None

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Suitable for new contributors

Yes, likely

Pull Request

None

backportDecision

None

backportReEvaluate

None

Components

Priority

Major
Configure