Class JavaTimeArgumentFactory
java.lang.Object
org.jdbi.v3.postgres.JavaTimeArgumentFactory
- All Implemented Interfaces:
ArgumentFactory, ArgumentFactory.Preparable
Postgres specific argument factory for Java Time types.
Instant must be mapped to Types.TIMESTAMP, as the Postgres driver does not support them with PreparedStatement.setObject(int, Object, int).-
Nested Class Summary
Nested classes/interfaces inherited from interface ArgumentFactory
ArgumentFactory.Preparable -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ArgumentFactory.Preparable
build, prePreparedTypes
-
Constructor Details
-
JavaTimeArgumentFactory
public JavaTimeArgumentFactory()
-
-
Method Details
-
prepare
- Specified by:
preparein interfaceArgumentFactory.Preparable
-