public abstract class BaseJsonTypeHandler<T> extends org.apache.ibatis.type.BaseTypeHandler<T>
| 构造器和说明 |
|---|
BaseJsonTypeHandler() |
| 限定符和类型 | 方法和说明 |
|---|---|
T |
getNullableResult(CallableStatement cs,
int columnIndex) |
T |
getNullableResult(ResultSet rs,
int columnIndex) |
T |
getNullableResult(ResultSet rs,
String columnName) |
protected abstract T |
parseJson(String json) |
void |
setNonNullParameter(PreparedStatement ps,
int i,
T parameter,
org.apache.ibatis.type.JdbcType jdbcType) |
protected abstract String |
toJson(T object) |
public BaseJsonTypeHandler()
public void setNonNullParameter(PreparedStatement ps, int i, T parameter, org.apache.ibatis.type.JdbcType jdbcType) throws SQLException
setNonNullParameter 在类中 org.apache.ibatis.type.BaseTypeHandler<T>SQLExceptionpublic T getNullableResult(ResultSet rs, String columnName) throws SQLException
getNullableResult 在类中 org.apache.ibatis.type.BaseTypeHandler<T>SQLExceptionpublic T getNullableResult(ResultSet rs, int columnIndex) throws SQLException
getNullableResult 在类中 org.apache.ibatis.type.BaseTypeHandler<T>SQLExceptionpublic T getNullableResult(CallableStatement cs, int columnIndex) throws SQLException
getNullableResult 在类中 org.apache.ibatis.type.BaseTypeHandler<T>SQLExceptionCopyright © 2023. All rights reserved.