2
votes
1answer
1k views

Spring Data MongoDb for class inheritance

I want to store different data to one collection in MongoDb and have Spring data beans with appropriate field.. Sorry, I've skipped details. Parent bean: class A int a Childs: class B ...
0
votes
0answers
344 views

Persisting objects containing primitive arrays with spring-data-mongodb

I'm using spring-data-mongodb version 1.1.1.RELEASE. I am able to persist an object if all the member variables are primitive types, even if the names of the @PersistenceConstructor arguments don't ...