Package org.activiti.engine.impl.db
Class IbatisVariableTypeHandler
- java.lang.Object
-
- org.activiti.engine.impl.db.IbatisVariableTypeHandler
-
- All Implemented Interfaces:
org.apache.ibatis.type.TypeHandler<VariableType>
public class IbatisVariableTypeHandler extends java.lang.Object implements org.apache.ibatis.type.TypeHandler<VariableType>
-
-
Field Summary
Fields Modifier and Type Field Description protected VariableTypesvariableTypes
-
Constructor Summary
Constructors Constructor Description IbatisVariableTypeHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VariableTypegetResult(java.sql.CallableStatement cs, int columnIndex)VariableTypegetResult(java.sql.ResultSet resultSet, int columnIndex)VariableTypegetResult(java.sql.ResultSet rs, java.lang.String columnName)protected VariableTypesgetVariableTypes()voidsetParameter(java.sql.PreparedStatement ps, int i, VariableType parameter, org.apache.ibatis.type.JdbcType jdbcType)
-
-
-
Field Detail
-
variableTypes
protected VariableTypes variableTypes
-
-
Method Detail
-
getResult
public VariableType getResult(java.sql.ResultSet rs, java.lang.String columnName) throws java.sql.SQLException
- Specified by:
getResultin interfaceorg.apache.ibatis.type.TypeHandler<VariableType>- Throws:
java.sql.SQLException
-
getResult
public VariableType getResult(java.sql.CallableStatement cs, int columnIndex) throws java.sql.SQLException
- Specified by:
getResultin interfaceorg.apache.ibatis.type.TypeHandler<VariableType>- Throws:
java.sql.SQLException
-
setParameter
public void setParameter(java.sql.PreparedStatement ps, int i, VariableType parameter, org.apache.ibatis.type.JdbcType jdbcType) throws java.sql.SQLException- Specified by:
setParameterin interfaceorg.apache.ibatis.type.TypeHandler<VariableType>- Throws:
java.sql.SQLException
-
getVariableTypes
protected VariableTypes getVariableTypes()
-
getResult
public VariableType getResult(java.sql.ResultSet resultSet, int columnIndex) throws java.sql.SQLException
- Specified by:
getResultin interfaceorg.apache.ibatis.type.TypeHandler<VariableType>- Throws:
java.sql.SQLException
-
-