类 MagicSqliteDateTypeHandler

java.lang.Object
org.apache.ibatis.type.TypeReference<Date>
org.apache.ibatis.type.BaseTypeHandler<Date>
org.apache.ibatis.type.DateTypeHandler
top.lingkang.mm.handler.MagicSqliteDateTypeHandler
所有已实现的接口:
org.apache.ibatis.type.TypeHandler<Date>

public class MagicSqliteDateTypeHandler extends org.apache.ibatis.type.DateTypeHandler
针对sqlite, 时间内容均为字符串
作者:
lingkang Create by 2024/10/28 16:41
  • 构造器详细资料

    • MagicSqliteDateTypeHandler

      public MagicSqliteDateTypeHandler()
  • 方法详细资料

    • setNonNullParameter

      public void setNonNullParameter(PreparedStatement ps, int i, Date parameter, org.apache.ibatis.type.JdbcType jdbcType) throws SQLException
      覆盖:
      setNonNullParameter 在类中 org.apache.ibatis.type.DateTypeHandler
      抛出:
      SQLException
    • getNullableResult

      public Date getNullableResult(ResultSet rs, String columnName) throws SQLException
      覆盖:
      getNullableResult 在类中 org.apache.ibatis.type.DateTypeHandler
      抛出:
      SQLException
    • getNullableResult

      public Date getNullableResult(ResultSet rs, int columnIndex) throws SQLException
      覆盖:
      getNullableResult 在类中 org.apache.ibatis.type.DateTypeHandler
      抛出:
      SQLException
    • getNullableResult

      public Date getNullableResult(CallableStatement cs, int columnIndex) throws SQLException
      覆盖:
      getNullableResult 在类中 org.apache.ibatis.type.DateTypeHandler
      抛出:
      SQLException