-
Mar 25th, 2011, 09:55 AM
#1
Can't Extend SimpleMongoRepository
Howdy,
I'm trying to "Add Custom Behavior to All Repositories" (4.2.2 of the docs) for Mongo.
Looks like SimpleMongoRepository has no empty constructor so I need to define a constructor on my repository sub class to match:
public SimpleMongoRepository(MongoEntityInformation<T, ID> metadata, MongoTemplate template) {
...
}
My problem is that MongoEntityInformation is not public so i cant import it into my subclass.
Is this a bug or is this meant to work a different way?
Thanks!
Dave
-
Mar 29th, 2011, 01:40 PM
#2
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules