public class JdbcCustomConversions extends CustomConversions
JdbcCustomConversions
also act as factory for
SimpleTypeHolder
CustomConversions
,
SimpleTypeHolder
,
JdbcSimpleTypes
CustomConversions.ConverterConfiguration, CustomConversions.ConverterRegistrationIntent, CustomConversions.StoreConversions
Constructor and Description |
---|
JdbcCustomConversions()
Creates an empty
JdbcCustomConversions object. |
JdbcCustomConversions(CustomConversions.ConverterConfiguration converterConfiguration)
Create a new
JdbcCustomConversions instance given
CustomConversions.ConverterConfiguration . |
JdbcCustomConversions(CustomConversions.StoreConversions storeConversions,
List<?> userConverters)
Create a new
JdbcCustomConversions instance registering the given converters and the default store
converters. |
JdbcCustomConversions(List<?> converters)
Create a new
JdbcCustomConversions instance registering the given converters and the default store
converters. |
Modifier and Type | Method and Description |
---|---|
static Collection<Object> |
storeConverters()
Obtain a read only copy of default store converters.
|
getCustomWriteTarget, getCustomWriteTarget, getSimpleTypeHolder, hasCustomReadTarget, hasCustomWriteTarget, hasCustomWriteTarget, isSimpleType, registerConvertersIn
public JdbcCustomConversions()
JdbcCustomConversions
object.public JdbcCustomConversions(List<?> converters)
JdbcCustomConversions
instance registering the given converters and the default store
converters.converters
- must not be null.public JdbcCustomConversions(CustomConversions.StoreConversions storeConversions, List<?> userConverters)
JdbcCustomConversions
instance registering the given converters and the default store
converters.public JdbcCustomConversions(CustomConversions.ConverterConfiguration converterConfiguration)
JdbcCustomConversions
instance given
CustomConversions.ConverterConfiguration
.converterConfiguration
- must not be null.public static Collection<Object> storeConverters()
Copyright © 2017–2021 Pivotal Software, Inc.. All rights reserved.