Class InstantTypeHandler
- java.lang.Object
-
- org.apache.ibatis.type.TypeReference<T>
-
- org.apache.ibatis.type.BaseTypeHandler<Instant>
-
- pro.taskana.common.internal.persistence.InstantTypeHandler
-
-
Constructor Summary
Constructors Constructor Description InstantTypeHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InstantgetNullableResult(CallableStatement cs, int columnIndex)InstantgetNullableResult(ResultSet rs, int columnIndex)InstantgetNullableResult(ResultSet rs, String columnName)voidsetNonNullParameter(PreparedStatement ps, int i, Instant parameter, org.apache.ibatis.type.JdbcType jdbcType)
-
-
-
Method Detail
-
setNonNullParameter
public void setNonNullParameter(PreparedStatement ps, int i, Instant parameter, org.apache.ibatis.type.JdbcType jdbcType) throws SQLException
- Specified by:
setNonNullParameterin classorg.apache.ibatis.type.BaseTypeHandler<Instant>- Throws:
SQLException
-
getNullableResult
public Instant getNullableResult(ResultSet rs, String columnName) throws SQLException
- Specified by:
getNullableResultin classorg.apache.ibatis.type.BaseTypeHandler<Instant>- Throws:
SQLException
-
getNullableResult
public Instant getNullableResult(ResultSet rs, int columnIndex) throws SQLException
- Specified by:
getNullableResultin classorg.apache.ibatis.type.BaseTypeHandler<Instant>- Throws:
SQLException
-
getNullableResult
public Instant getNullableResult(CallableStatement cs, int columnIndex) throws SQLException
- Specified by:
getNullableResultin classorg.apache.ibatis.type.BaseTypeHandler<Instant>- Throws:
SQLException
-
-