[From the forum|https://forum.hibernate.org/viewtopic.php?f=31&t=1036796]: "if {quote} If I use the new ID-feature with MongoDB (ObjectId) like this Code : { quote}
{ code} @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private ObjectId id;
@Embedded private SomeEmbeddable details; {code}
a {quote} Then storing of the entity causes the following exception: {quote} Code: {code} java.lang.IllegalArgumentException: Document field names can't have a . in them. (Bad Key: 'details.endDate') {code} '"
|