Class StringTypeHandler
- java.lang.Object
-
- org.apache.ibatis.type.TypeReference<T>
-
- org.apache.ibatis.type.BaseTypeHandler<String>
-
- pro.taskana.common.internal.persistence.StringTypeHandler
-
-
Field Summary
Fields Modifier and Type Field Description static StringEMPTY_PLACEHOLDER
-
Constructor Summary
Constructors Constructor Description StringTypeHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetNullableResult(CallableStatement cs, int columnIndex)StringgetNullableResult(ResultSet rs, int columnIndex)StringgetNullableResult(ResultSet rs, String columnName)voidsetNonNullParameter(PreparedStatement ps, int i, String parameter, org.apache.ibatis.type.JdbcType jdbcType)
-
-
-
Field Detail
-
EMPTY_PLACEHOLDER
public static final String EMPTY_PLACEHOLDER
- See Also:
- Constant Field Values
-
-
Method Detail
-
setNonNullParameter
public void setNonNullParameter(PreparedStatement ps, int i, String parameter, org.apache.ibatis.type.JdbcType jdbcType) throws SQLException
- Specified by:
setNonNullParameterin classorg.apache.ibatis.type.BaseTypeHandler<String>- Throws:
SQLException
-
getNullableResult
public String getNullableResult(ResultSet rs, String columnName) throws SQLException
- Specified by:
getNullableResultin classorg.apache.ibatis.type.BaseTypeHandler<String>- Throws:
SQLException
-
getNullableResult
public String getNullableResult(ResultSet rs, int columnIndex) throws SQLException
- Specified by:
getNullableResultin classorg.apache.ibatis.type.BaseTypeHandler<String>- Throws:
SQLException
-
getNullableResult
public String getNullableResult(CallableStatement cs, int columnIndex) throws SQLException
- Specified by:
getNullableResultin classorg.apache.ibatis.type.BaseTypeHandler<String>- Throws:
SQLException
-
-