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.
Hum, hard to guess what that is about without context.
We prepare different types of (Cypher) queries, but not all of them are required, depending on the type of object (entity vs. embeddedable). This is about preparing only those queries we actually need.
The problem at the moment is that at startup we don't know if the EntiyKeyMetadata represents an entity or an embeddable