com.ibatis.sqlmap.engine.type

Class UnknownTypeHandler

public class UnknownTypeHandler extends BaseTypeHandler implements TypeHandler

Implementation of TypeHandler for dealing with unknown types
Constructor Summary
UnknownTypeHandler(TypeHandlerFactory factory)
Constructor to create via a factory
Method Summary
booleanequals(Object object, String string)
ObjectgetResult(ResultSet rs, String columnName)
ObjectgetResult(ResultSet rs, int columnIndex)
ObjectgetResult(CallableStatement cs, int columnIndex)
voidsetParameter(PreparedStatement ps, int i, Object parameter, String jdbcType)
ObjectvalueOf(String s)

Constructor Detail

UnknownTypeHandler

public UnknownTypeHandler(TypeHandlerFactory factory)
Constructor to create via a factory

Parameters: factory - the factory to associate this with

Method Detail

equals

public boolean equals(Object object, String string)

getResult

public Object getResult(ResultSet rs, String columnName)

getResult

public Object getResult(ResultSet rs, int columnIndex)

getResult

public Object getResult(CallableStatement cs, int columnIndex)

setParameter

public void setParameter(PreparedStatement ps, int i, Object parameter, String jdbcType)

valueOf

public Object valueOf(String s)
Copyright © 2011. All Rights Reserved.