Package org.apache.ibatis.type
Class LocalTimeTypeHandler
- java.lang.Object
-
- org.apache.ibatis.type.TypeReference<T>
-
- org.apache.ibatis.type.BaseTypeHandler<java.time.LocalTime>
-
- org.apache.ibatis.type.LocalTimeTypeHandler
-
- All Implemented Interfaces:
TypeHandler<java.time.LocalTime>
public class LocalTimeTypeHandler extends BaseTypeHandler<java.time.LocalTime>
- Since:
- 3.4.5
- Author:
- Tomas Rohovsky
-
-
Field Summary
-
Fields inherited from class org.apache.ibatis.type.BaseTypeHandler
configuration
-
-
Constructor Summary
Constructors Constructor Description LocalTimeTypeHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.time.LocalTimegetNullableResult(java.sql.CallableStatement cs, int columnIndex)java.time.LocalTimegetNullableResult(java.sql.ResultSet rs, int columnIndex)java.time.LocalTimegetNullableResult(java.sql.ResultSet rs, java.lang.String columnName)voidsetNonNullParameter(java.sql.PreparedStatement ps, int i, java.time.LocalTime parameter, JdbcType jdbcType)-
Methods inherited from class org.apache.ibatis.type.BaseTypeHandler
getResult, getResult, getResult, setConfiguration, setParameter
-
Methods inherited from class org.apache.ibatis.type.TypeReference
getRawType, toString
-
-
-
-
Method Detail
-
setNonNullParameter
public void setNonNullParameter(java.sql.PreparedStatement ps, int i, java.time.LocalTime parameter, JdbcType jdbcType) throws java.sql.SQLException- Specified by:
setNonNullParameterin classBaseTypeHandler<java.time.LocalTime>- Throws:
java.sql.SQLException
-
getNullableResult
public java.time.LocalTime getNullableResult(java.sql.ResultSet rs, java.lang.String columnName) throws java.sql.SQLException- Specified by:
getNullableResultin classBaseTypeHandler<java.time.LocalTime>- Throws:
java.sql.SQLException
-
getNullableResult
public java.time.LocalTime getNullableResult(java.sql.ResultSet rs, int columnIndex) throws java.sql.SQLException- Specified by:
getNullableResultin classBaseTypeHandler<java.time.LocalTime>- Throws:
java.sql.SQLException
-
getNullableResult
public java.time.LocalTime getNullableResult(java.sql.CallableStatement cs, int columnIndex) throws java.sql.SQLException- Specified by:
getNullableResultin classBaseTypeHandler<java.time.LocalTime>- Throws:
java.sql.SQLException
-
-