File tree 1 file changed +1
-2
lines changed
src/main/java/org/springframework/data/couchbase/config
1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change 27
27
import org .springframework .context .annotation .ClassPathScanningCandidateComponentProvider ;
28
28
import org .springframework .context .annotation .Configuration ;
29
29
import org .springframework .core .type .filter .AnnotationTypeFilter ;
30
- import org .springframework .data .annotation .Persistent ;
31
30
import org .springframework .data .convert .CustomConversions ;
32
31
import org .springframework .data .couchbase .CouchbaseClientFactory ;
33
32
import org .springframework .data .couchbase .SimpleCouchbaseClientFactory ;
68
67
* @author Stephane Nicoll
69
68
* @author Subhashni Balakrishnan
70
69
* @author Jorge Rodriguez Martin
70
+ * @author Michael Reiche
71
71
*/
72
72
@ Configuration
73
73
public abstract class AbstractCouchbaseConfiguration {
@@ -230,7 +230,6 @@ protected Set<Class<?>> getInitialEntitySet() throws ClassNotFoundException {
230
230
ClassPathScanningCandidateComponentProvider componentProvider = new ClassPathScanningCandidateComponentProvider (
231
231
false );
232
232
componentProvider .addIncludeFilter (new AnnotationTypeFilter (Document .class ));
233
- componentProvider .addIncludeFilter (new AnnotationTypeFilter (Persistent .class ));
234
233
for (BeanDefinition candidate : componentProvider .findCandidateComponents (basePackage )) {
235
234
initialEntitySet .add (
236
235
ClassUtils .forName (candidate .getBeanClassName (), AbstractCouchbaseConfiguration .class .getClassLoader ()));
You can’t perform that action at this time.
0 commit comments