File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
src/main/java/org/springframework/data/couchbase/config Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change 2727import org .springframework .context .annotation .ClassPathScanningCandidateComponentProvider ;
2828import org .springframework .context .annotation .Configuration ;
2929import org .springframework .core .type .filter .AnnotationTypeFilter ;
30- import org .springframework .data .annotation .Persistent ;
3130import org .springframework .data .convert .CustomConversions ;
3231import org .springframework .data .couchbase .CouchbaseClientFactory ;
3332import org .springframework .data .couchbase .SimpleCouchbaseClientFactory ;
6867 * @author Stephane Nicoll
6968 * @author Subhashni Balakrishnan
7069 * @author Jorge Rodriguez Martin
70+ * @author Michael Reiche
7171 */
7272@ Configuration
7373public abstract class AbstractCouchbaseConfiguration {
@@ -230,7 +230,6 @@ protected Set<Class<?>> getInitialEntitySet() throws ClassNotFoundException {
230230 ClassPathScanningCandidateComponentProvider componentProvider = new ClassPathScanningCandidateComponentProvider (
231231 false );
232232 componentProvider .addIncludeFilter (new AnnotationTypeFilter (Document .class ));
233- componentProvider .addIncludeFilter (new AnnotationTypeFilter (Persistent .class ));
234233 for (BeanDefinition candidate : componentProvider .findCandidateComponents (basePackage )) {
235234 initialEntitySet .add (
236235 ClassUtils .forName (candidate .getBeanClassName (), AbstractCouchbaseConfiguration .class .getClassLoader ()));
You can’t perform that action at this time.
0 commit comments