Generic encoder for JDBC arrays.
Generic encoder for JDBC arrays.
raw type retrieved form JDBC array
mapped type fulfilled in decoder's collection
seq type
retrieved raw types fro JDBC array may be mapped via this mapper to satisfy encoder type
builder factory is needed to create instances of decoder's collection
JDBC array decoder
Generic encoder for JDBC arrays.
Generic encoder for JDBC arrays.
element type
seq type
JDBC specific type identification, may be various regarding to JDBC driver
jdbc array accepts AnyRef objects hence a mapper is needed. If input type of an element of collection is not comfortable with jdbcType then use this mapper to transform to appropriate type before casting to AnyRef
JDBC array encoder
Creates JDBC array decoder for type T
which is already supported by database as array element.
Creates JDBC array decoder for type T
which is already supported by database as array element.
element type
seq type
builder factory is needed to create instances of decoder's collection
JDBC array decoder
Transform jdbcType int using parseJdbcType
and calls overloaded method to create Encoder
Transform jdbcType int using parseJdbcType
and calls overloaded method to create Encoder
java.sql.Types
JdbcContext#parseJdbcType(jdbcType: String)
arrayRawEncoder(jdbcType: String)
Creates JDBC array encoder for type T
which is already supported by database as array element.
Creates JDBC array encoder for type T
which is already supported by database as array element.
element type
seq type
JDBC specific type identification, may be various regarding to JDBC driver
JDBC array encoder
Parses instances of java.sql.Types to string form so it can be used in creation of sql arrays.
Parses instances of java.sql.Types to string form so it can be used in creation of sql arrays. Some databases does not support each of generic types, hence it's welcome to override this method and provide alternatives to non-existent types.
one of java.sql.Types
JDBC type in string form