We are migrating from morphia 1.x to 2.4 and having to add annotations to all of our classes that are used as top-level or embedded types (there are lots of them). Not complaining about doing work :) but the question is why is this necessary in v2.4? Can't it be assumed that a type being persisted is mappable and use the same defaults as applied to classes annotated with @Entity?
We are migrating from morphia 1.x to 2.4 and having to add annotations to all of our classes that are used as top-level or embedded types (there are lots of them). Not complaining about doing work :) but the question is why is this necessary in v2.4? Can't it be assumed that a type being persisted is mappable and use the same defaults as applied to classes annotated with
@Entity?