Module spring.data.jdbc
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 aArrayinstance.static JdbcTypeFactoryAn implementation used in places where a properJdbcTypeFactorycan 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 properJdbcTypeFactorycan 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 aJdbcTypeFactorywill not work. -
createArray
Converts the provided value in aArrayinstance.- Parameters:
value- the value to be converted. Must not be null.- Returns:
- an
Array. Guaranteed to be not null.
-