Polishing.

Improve default converter setup by considering R2dbcCustomConversions.STORE_CONVERSIONS to register built-in converters in default configurations.

See #612
This commit is contained in:
Mark Paluch
2021-07-22 09:00:59 +02:00
parent e5aeae9033
commit 7d18946893
2 changed files with 2 additions and 2 deletions

View File

@@ -70,7 +70,7 @@ public class MappingR2dbcConverter extends BasicRelationalConverter implements R
*/
public MappingR2dbcConverter(
MappingContext<? extends RelationalPersistentEntity<?>, ? extends RelationalPersistentProperty> context) {
super(context, new R2dbcCustomConversions(CustomConversions.StoreConversions.NONE, Collections.emptyList()));
super(context, new R2dbcCustomConversions(R2dbcCustomConversions.STORE_CONVERSIONS, Collections.emptyList()));
}
/**

View File

@@ -24,7 +24,7 @@ public class R2dbcCustomConversions extends CustomConversions {
public static final List<Object> STORE_CONVERTERS;
private static final StoreConversions STORE_CONVERSIONS;
public static final StoreConversions STORE_CONVERSIONS;
static {