Currently, all annotated fields must be directly in the pojo, annotated fields from superclasses are not recognized. This PR adds support for the annotated fields to be in the POJO's superclass
For example:
public class JsonDbo {
@Id
private ObjectId id;
// getter and setter
}
@Document(collection = "example", schemaVersion = "1.0")
public class Instance extends JsonDbo {
private String name;
// etc...
}
Currently, all annotated fields must be directly in the pojo, annotated fields from superclasses are not recognized. This PR adds support for the annotated fields to be in the POJO's superclass
For example: