Skip to content

Instantly share code, notes, and snippets.

Avatar

Antoine Vandecreme avandecreme

View GitHub Profile
View gist:6ee4cc44c54fd8f2c1ae
public class InheritanceAwareMongoRepository<T, ID extends Serializable>
extends SimpleMongoRepository<T, ID> {
private final MongoOperations mongoOperations;
private final MongoEntityInformation<T, ID> entityInformation;
public InheritanceAwareMongoRepository(
MongoEntityInformation<T, ID> metadata,
MongoOperations mongoOperations) {
super(metadata, mongoOperations);