ArrayEncoders
Type members
Inherited types
Value members
Concrete methods
Generic encoder for JDBC arrays.
Generic encoder for JDBC arrays.
- Type parameters:
- Col
seq type
- T
element type
- Value parameters:
- jdbcType
JDBC specific type identification, may be various regarding to JDBC driver
- mapper
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
- Returns:
JDBC array encoder
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.
- Type parameters:
- Col
seq type
- T
element type
- Value parameters:
- jdbcType
JDBC specific type identification, may be various regarding to JDBC driver
- Returns:
JDBC array encoder
Transform jdbcType int using parseJdbcType
and calls overloaded method to create Encoder
Transform jdbcType int using parseJdbcType
and calls overloaded method to create Encoder
- Value parameters:
- jdbcType
java.sql.Types
- See also:
arrayRawEncoder(jdbcType: String)
JdbcContext#parseJdbcType(jdbcType: String)
Inherited methods
- Inherited from:
- EncodingDsl
- Inherited from:
- EncodingDsl
Implicits
Implicits
Inherited implicits
- Inherited from:
- ArrayEncoding
- Inherited from:
- ArrayEncoding
- Inherited from:
- ArrayEncoding
- Inherited from:
- ArrayEncoding
- Inherited from:
- ArrayEncoding
- Inherited from:
- ArrayEncoding
- Inherited from:
- ArrayEncoding
- Inherited from:
- EncodingDsl
- Inherited from:
- EncodingDsl