Interface JdbcTypeFactory
- All Known Implementing Classes:
DefaultJdbcTypeFactory
public interface JdbcTypeFactory
Allows the creation of instances of database dependent types, e.g.
Array
.- Since:
- 1.1
- Author:
- Jens Schauder
-
Method Summary
Modifier and TypeMethodDescriptioncreateArray
(Object[] value) Converts the provided value in aArray
instance.static JdbcTypeFactory
An implementation used in places where a properJdbcTypeFactory
can not be provided but an instance needs to be provided anyway, mostly for providing backward compatibility.
-
Method Details
-
unsupported
An implementation used in places where a properJdbcTypeFactory
can not be provided but an instance needs to be provided anyway, mostly for providing backward compatibility. Calling it will result in an exception. The features normally supported by aJdbcTypeFactory
will not work. -
createArray
Converts the provided value in aArray
instance.- Parameters:
value
- the value to be converted. Must not be null.- Returns:
- an
Array
. Guaranteed to be not null.
-