org.camunda.bpm.engine.impl.db
Class IbatisVariableTypeHandler

java.lang.Object
  extended by org.camunda.bpm.engine.impl.db.IbatisVariableTypeHandler
All Implemented Interfaces:
org.apache.ibatis.type.TypeHandler<VariableType>

public class IbatisVariableTypeHandler
extends Object
implements org.apache.ibatis.type.TypeHandler<VariableType>

Author:
Dave Syer

Field Summary
protected  VariableTypes variableTypes
           
 
Constructor Summary
IbatisVariableTypeHandler()
           
 
Method Summary
 VariableType getResult(CallableStatement cs, int columnIndex)
           
 VariableType getResult(ResultSet resultSet, int columnIndex)
           
 VariableType getResult(ResultSet rs, String columnName)
           
protected  VariableTypes getVariableTypes()
           
 void setParameter(PreparedStatement ps, int i, VariableType parameter, org.apache.ibatis.type.JdbcType jdbcType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

variableTypes

protected VariableTypes variableTypes
Constructor Detail

IbatisVariableTypeHandler

public IbatisVariableTypeHandler()
Method Detail

getResult

public VariableType getResult(ResultSet rs,
                              String columnName)
                       throws SQLException
Specified by:
getResult in interface org.apache.ibatis.type.TypeHandler<VariableType>
Throws:
SQLException

getResult

public VariableType getResult(CallableStatement cs,
                              int columnIndex)
                       throws SQLException
Specified by:
getResult in interface org.apache.ibatis.type.TypeHandler<VariableType>
Throws:
SQLException

setParameter

public void setParameter(PreparedStatement ps,
                         int i,
                         VariableType parameter,
                         org.apache.ibatis.type.JdbcType jdbcType)
                  throws SQLException
Specified by:
setParameter in interface org.apache.ibatis.type.TypeHandler<VariableType>
Throws:
SQLException

getVariableTypes

protected VariableTypes getVariableTypes()

getResult

public VariableType getResult(ResultSet resultSet,
                              int columnIndex)
                       throws SQLException
Specified by:
getResult in interface org.apache.ibatis.type.TypeHandler<VariableType>
Throws:
SQLException


Copyright © 2014 camunda services GmbH. All Rights Reserved.