Package org.apache.ibatis.type
Class LocalDateTimeTypeHandler
java.lang.Object
org.apache.ibatis.type.TypeReference<LocalDateTime>
org.apache.ibatis.type.BaseTypeHandler<LocalDateTime>
org.apache.ibatis.type.LocalDateTimeTypeHandler
- All Implemented Interfaces:
- TypeHandler<LocalDateTime>
- Since:
- 3.4.5
- Author:
- Tomas Rohovsky
- 
Field SummaryFields inherited from class org.apache.ibatis.type.BaseTypeHandlerconfiguration
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetNullableResult(CallableStatement cs, int columnIndex) getNullableResult(ResultSet rs, int columnIndex) getNullableResult(ResultSet rs, String columnName) Gets the nullable result.voidsetNonNullParameter(PreparedStatement ps, int i, LocalDateTime parameter, JdbcType jdbcType) Methods inherited from class org.apache.ibatis.type.BaseTypeHandlergetResult, getResult, getResult, setConfiguration, setParameterMethods inherited from class org.apache.ibatis.type.TypeReferencegetRawType, toString
- 
Constructor Details- 
LocalDateTimeTypeHandlerpublic LocalDateTimeTypeHandler()
 
- 
- 
Method Details- 
setNonNullParameterpublic void setNonNullParameter(PreparedStatement ps, int i, LocalDateTime parameter, JdbcType jdbcType) throws SQLException - Specified by:
- setNonNullParameterin class- BaseTypeHandler<LocalDateTime>
- Throws:
- SQLException
 
- 
getNullableResultDescription copied from class:BaseTypeHandlerGets the nullable result.- Specified by:
- getNullableResultin class- BaseTypeHandler<LocalDateTime>
- Parameters:
- rs- the rs
- columnName- Column name, when configuration- useColumnLabelis- false
- Returns:
- the nullable result
- Throws:
- SQLException- the SQL exception
 
- 
getNullableResult- Specified by:
- getNullableResultin class- BaseTypeHandler<LocalDateTime>
- Throws:
- SQLException
 
- 
getNullableResult- Specified by:
- getNullableResultin class- BaseTypeHandler<LocalDateTime>
- Throws:
- SQLException
 
 
-