Hi,
Quick question. I'am applying the @Document annotation to a class that implements an interface but it does not seem work as expected. I expect the name of the collection to be what I declare in the annotation; however, it defaults to the name of my interface. If I apply @Document to my interface, things work as expected. I'd hate to have to annotate my interfaces. Anyone run across this?
<spring.version>3.1.1.RELEASE</spring.version>
<spring-data-mongodb-version>1.2.0.RELEASE</spring-data-mongodb-version>
Thanks,
Alejandro
Quick question. I'am applying the @Document annotation to a class that implements an interface but it does not seem work as expected. I expect the name of the collection to be what I declare in the annotation; however, it defaults to the name of my interface. If I apply @Document to my interface, things work as expected. I'd hate to have to annotate my interfaces. Anyone run across this?
<spring.version>3.1.1.RELEASE</spring.version>
<spring-data-mongodb-version>1.2.0.RELEASE</spring-data-mongodb-version>
Thanks,
Alejandro