The problem at the moment is that at startup we don't if the EntiyKeyMetadata represents an entity or an embeddable