Deprecated API
Contents
-
Interfaces Interface Description dev.morphia.AdvancedDatastore dev.morphia.aggregation.AggregationPipeline useAggregation
insteaddev.morphia.EntityInterceptor useEntityListener
instead. The interface is the same but generic and the name aligns better with theEntityListeners
annotation.dev.morphia.geo.Geometry use the driver-provided types insteaddev.morphia.query.Criteria dev.morphia.query.CriteriaContainer dev.morphia.query.FieldEnd dev.morphia.query.UpdateOperations updates should be performed using theQuery.update(UpdateOperator, UpdateOperator...)
instead of this class directly
-
Enums Enum Description dev.morphia.geo.CoordinateReferenceSystemType use the driver-provided types insteaddev.morphia.geo.GeoJsonType use the driver defined typesdev.morphia.mapping.MapperOptions.PropertyDiscovery 3.0 will evaluate both field and getter/setters for annotation so this setting becomes vestigialdev.morphia.query.CriteriaJoin dev.morphia.query.FilterOperator dev.morphia.query.Meta.MetaDataKeyword
-
Annotation Types Annotation Type Description dev.morphia.annotations.Converters dev.morphia.annotations.Embedded It is now possible to use @Entity everywhere. If a type is only for use as an embedded value, no @Id field is necessary.dev.morphia.annotations.experimental.Constructor This annotation is not necessary and will be removed soon.dev.morphia.annotations.NotSaved useLoadOnly
instead
-
Constructors Constructor Description dev.morphia.query.Meta(String, String) use the various factory methods. these constructors will go private in a future release.
-
Annotation Type Elements Annotation Type Element Description dev.morphia.annotations.Embedded.value() dev.morphia.annotations.EntityListeners.value() In the next version, this will be restricted to subclasses ofEntityListener
. Migrating your listeners to be subclasses now will prevent any compilation issues in the future.