DATACOUCH-572 - fix compile error from DATACOUCH-571

This commit is contained in:
mikereiche
2020-06-22 13:02:18 -07:00
parent 313bc1e868
commit aa58e9c4ec

View File

@@ -22,7 +22,7 @@ import com.couchbase.client.java.env.ClusterEnvironment;
import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.Configuration;
import org.springframework.data.auditing.DateTimeProvider; import org.springframework.data.auditing.DateTimeProvider;
import org.springframework.data.convert.CustomConversions; import org.springframework.data.couchbase.core.convert.CouchbaseCustomConversions;
import org.springframework.data.couchbase.CouchbaseClientFactory; import org.springframework.data.couchbase.CouchbaseClientFactory;
import org.springframework.data.couchbase.SimpleCouchbaseClientFactory; import org.springframework.data.couchbase.SimpleCouchbaseClientFactory;
import org.springframework.data.couchbase.config.AbstractCouchbaseConfiguration; import org.springframework.data.couchbase.config.AbstractCouchbaseConfiguration;
@@ -173,7 +173,7 @@ public class Config extends AbstractCouchbaseConfiguration {
@Override @Override
@Bean(name = "couchbaseMappingConverter") @Bean(name = "couchbaseMappingConverter")
public MappingCouchbaseConverter mappingCouchbaseConverter(CouchbaseMappingContext couchbaseMappingContext, public MappingCouchbaseConverter mappingCouchbaseConverter(CouchbaseMappingContext couchbaseMappingContext,
CustomConversions couchbaseCustomConversions) { CouchbaseCustomConversions couchbaseCustomConversions) {
// MappingCouchbaseConverter relies on a SimpleInformationMapper // MappingCouchbaseConverter relies on a SimpleInformationMapper
// that has an getAliasFor(info) that just returns getType().getName(). // that has an getAliasFor(info) that just returns getType().getName().
// Our CustomMappingCouchbaseConverter uses a TypeBasedCouchbaseTypeMapper that will // Our CustomMappingCouchbaseConverter uses a TypeBasedCouchbaseTypeMapper that will