From the forum: "if I use the new ID-feature with MongoDB (ObjectId) like this Code:
@Id @GeneratedValue(strategy = GenerationType.IDENTITY) private ObjectId id; @Embedded private SomeEmbeddable details;
a storing of the entity causes the following exception:
Code:
java.lang.IllegalArgumentException: Document field names can't have a . in them. (Bad Key: 'details.endDate')
'"