static CustomConversions getCustomConversions( Collection<Converter> converters) { return new CustomConversions(CustomConversions.StoreConversions.NONE, converters); }
static CustomConversions getCustomConversions( Collection<Converter> converters) { return new CustomConversions(CustomConversions.StoreConversions.NONE, converters); }
@Bean public CustomConversions customConversions() { List list = new ArrayList(); list.add(new TimestampConverter()); CustomConversions.StoreConversions storeConversions = CustomConversions.StoreConversions.NONE; return new CustomConversions(storeConversions,list); } }
/** * Creates a new {@link BasicRelationalConverter} given {@link MappingContext}. * * @param context must not be {@literal null}. org.springframework.data.jdbc.core.DefaultDataAccessStrategyUnitTests */ public BasicRelationalConverter( MappingContext<? extends RelationalPersistentEntity<?>, ? extends RelationalPersistentProperty> context) { this(context, new CustomConversions(StoreConversions.NONE, Collections.emptyList()), new DefaultConversionService(), new EntityInstantiators()); }
/** * Creates a new {@link BasicRelationalConverter} given {@link MappingContext}. * * @param context must not be {@literal null}. org.springframework.data.jdbc.core.DefaultDataAccessStrategyUnitTests */ public BasicRelationalConverter( MappingContext<? extends RelationalPersistentEntity<?>, ? extends RelationalPersistentProperty> context) { this(context, new CustomConversions(StoreConversions.NONE, Collections.emptyList()), new DefaultConversionService(), new EntityInstantiators()); }
/** * Creates a new {@link BasicRelationalConverter} given {@link MappingContext}. * * @param context must not be {@literal null}. org.springframework.data.jdbc.core.DefaultDataAccessStrategyUnitTests */ public BasicRelationalConverter( MappingContext<? extends RelationalPersistentEntity<?>, ? extends RelationalPersistentProperty> context) { this(context, new CustomConversions(StoreConversions.NONE, Collections.emptyList()), new DefaultConversionService(), new EntityInstantiators()); }