Class ByteArrayRefTypeHandler
- java.lang.Object
-
- org.apache.ibatis.type.TypeReference<ByteArrayRef>
-
- org.flowable.common.engine.impl.persistence.entity.ByteArrayRefTypeHandler
-
- All Implemented Interfaces:
org.apache.ibatis.type.TypeHandler<ByteArrayRef>
public class ByteArrayRefTypeHandler extends org.apache.ibatis.type.TypeReference<ByteArrayRef> implements org.apache.ibatis.type.TypeHandler<ByteArrayRef>
MyBatis TypeHandler forByteArrayRef.- Author:
- Marcus Klimstra (CGI)
-
-
Constructor Summary
Constructors Constructor Description ByteArrayRefTypeHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ByteArrayRefcreateVariableByteArrayRef(String id)protected CommandExecutorgetCommandExecutor()ByteArrayRefgetResult(CallableStatement cs, int columnIndex)ByteArrayRefgetResult(ResultSet rs, int columnIndex)ByteArrayRefgetResult(ResultSet rs, String columnName)voidsetParameter(PreparedStatement ps, int i, ByteArrayRef parameter, org.apache.ibatis.type.JdbcType jdbcType)
-
-
-
Method Detail
-
setParameter
public void setParameter(PreparedStatement ps, int i, ByteArrayRef parameter, org.apache.ibatis.type.JdbcType jdbcType) throws SQLException
- Specified by:
setParameterin interfaceorg.apache.ibatis.type.TypeHandler<ByteArrayRef>- Throws:
SQLException
-
getResult
public ByteArrayRef getResult(ResultSet rs, String columnName) throws SQLException
- Specified by:
getResultin interfaceorg.apache.ibatis.type.TypeHandler<ByteArrayRef>- Throws:
SQLException
-
getResult
public ByteArrayRef getResult(ResultSet rs, int columnIndex) throws SQLException
- Specified by:
getResultin interfaceorg.apache.ibatis.type.TypeHandler<ByteArrayRef>- Throws:
SQLException
-
getResult
public ByteArrayRef getResult(CallableStatement cs, int columnIndex) throws SQLException
- Specified by:
getResultin interfaceorg.apache.ibatis.type.TypeHandler<ByteArrayRef>- Throws:
SQLException
-
createVariableByteArrayRef
protected ByteArrayRef createVariableByteArrayRef(String id)
-
getCommandExecutor
protected CommandExecutor getCommandExecutor()
-
-