Wait, wait. In your real code, AnEmbeddable is a type parameter, not a class??
In the code in the issue description it is a class.
But in the spring repository it is a type parameter?