Class JavaTimeMapperFactory

java.lang.Object
org.jdbi.v3.postgres.JavaTimeMapperFactory
All Implemented Interfaces:
org.jdbi.v3.core.mapper.ColumnMapperFactory

public class JavaTimeMapperFactory extends Object implements org.jdbi.v3.core.mapper.ColumnMapperFactory
Postgres specific mapper factory for Java Time types.
Maps Instant as the Postgres driver does not support them with ResultSet.getObject(int).
  • Constructor Details

    • JavaTimeMapperFactory

      public JavaTimeMapperFactory()
  • Method Details

    • build

      public Optional<org.jdbi.v3.core.mapper.ColumnMapper<?>> build(Type type, org.jdbi.v3.core.config.ConfigRegistry config)
      Specified by:
      build in interface org.jdbi.v3.core.mapper.ColumnMapperFactory