-
Nested Class Summary
Nested Classes
static enum
Default
ArrayColumns
implementation for dialects that do not support array-typed columns.
static enum
Default
ArrayColumns
implementation for dialects that do not support array-typed columns.
-
Method Summary
Translate the
user type
of an array into the dialect-specific type.
The appropriate SQL type as a String which should be used to represent the given
SQLType
in an
Array
.
-
Method Details
-
getArrayType
Translate the
user type
of an array into the dialect-specific type. This method considers only the
component type.
- Specified by:
getArrayType
in interface ArrayColumns
- Parameters:
userType
- component type of the array.
- Returns:
- the dialect-supported array type.
-
getArrayTypeName
The appropriate SQL type as a String which should be used to represent the given
SQLType
in an
Array
. Defaults to the name of the argument.
- Parameters:
jdbcType
- the SQLType
value representing the type that should be stored in the
Array
. Must not be null.
- Returns:
- the appropriate SQL type as a String which should be used to represent the given
SQLType
in an
Array
. Guaranteed to be not null.