public class CommaSplitTypeHandler extends org.apache.ibatis.type.BaseTypeHandler<List<String>>
| 构造器和说明 |
|---|
CommaSplitTypeHandler() |
| 限定符和类型 | 方法和说明 |
|---|---|
List<String> |
getNullableResult(CallableStatement cs,
int columnIndex) |
List<String> |
getNullableResult(ResultSet rs,
int columnIndex) |
List<String> |
getNullableResult(ResultSet rs,
String columnName) |
void |
setNonNullParameter(PreparedStatement ps,
int i,
List<String> parameter,
org.apache.ibatis.type.JdbcType jdbcType) |
private List<String> |
splitByComma(String string) |
public CommaSplitTypeHandler()
public void setNonNullParameter(PreparedStatement ps, int i, List<String> parameter, org.apache.ibatis.type.JdbcType jdbcType) throws SQLException
setNonNullParameter 在类中 org.apache.ibatis.type.BaseTypeHandler<List<String>>SQLExceptionpublic List<String> getNullableResult(ResultSet rs, String columnName) throws SQLException
getNullableResult 在类中 org.apache.ibatis.type.BaseTypeHandler<List<String>>SQLExceptionpublic List<String> getNullableResult(ResultSet rs, int columnIndex) throws SQLException
getNullableResult 在类中 org.apache.ibatis.type.BaseTypeHandler<List<String>>SQLExceptionpublic List<String> getNullableResult(CallableStatement cs, int columnIndex) throws SQLException
getNullableResult 在类中 org.apache.ibatis.type.BaseTypeHandler<List<String>>SQLExceptionprivate List<String> splitByComma(String string)
Copyright © 2024. All rights reserved.