List of usage examples for org.apache.ibatis.type TypeHandler interface-usage
From source file cern.c2mon.server.cache.dbaccess.type.AlarmConditionTypeHandler.java
/**
* iBatis TypeHandler class for converting AlarmCondition implementations
* into XML String stored as VARCHAR in the database.
* @author Mark Brightwell
*
*/
From source file cern.c2mon.server.cache.dbaccess.type.DataTagAddressTypeHandler.java
@MappedTypes(DataTagAddress.class) public class DataTagAddressTypeHandler implements TypeHandler { @Override public Object getResult(ResultSet rs, String columnName) throws SQLException {
From source file cern.c2mon.server.cache.dbaccess.type.DataTagQualityTypeHandler.java
/**
* iBatis TypeHandler for converting the VARCHAR Tag quality
* description column into a DataTagQuality object.
*
* <p>For migration to TIM2: if the description is null, it can
* be assumed the quality is good, and the dataTagQuality is
From source file cern.c2mon.server.cache.dbaccess.type.HardwareAddressTypeHandler.java
/**
* iBatis TypeHandler for HardwareAddress. Used in CommandTag
* iBatis XML file.
*
* @author Mark Brightwell
*
From source file cern.c2mon.server.cache.dbaccess.type.MetadataTypeHandler.java
@MappedTypes(Metadata.class) public class MetadataTypeHandler implements TypeHandler { @Override public Object getResult(ResultSet rs, String columnName) throws SQLException {
From source file cern.c2mon.server.cache.dbaccess.type.ObjectTypeHandler.java
/**
* MyBatis {@link TypeHandler} used to convert between Object entity attributes
* and their JSON string representations,
* <p>
* If a column is empty, a null object is returned when loading from the
* database.
From source file cern.c2mon.server.configuration.mybatis.PropertiesTypeHandler.java
public class PropertiesTypeHandler implements TypeHandler { /** * Private class logger. */ private static final Logger LOGGER = LoggerFactory.getLogger(PropertiesTypeHandler.class);
From source file cern.c2mon.shared.client.tag.ibatis.DataTagQualityTypeHandler.java
/**
* iBatis TypeHandler for converting the VARCHAR Tag quality
* description column into a DataTagQuality object.
*
* <p>For migration to TIM2: if the description is null, it can
* be assumed the quality is good, and the dataTagQuality is
From source file com.ace.erp.handler.mybatis.JodaDateTimeTypeHandler.java
/**
* Created with ace-erp.
* User: denghp
* Date: 10/19/13
* Time: 12:24 AM
*/
From source file com.activiti.demo.persisitence.db.IbatisVariableTypeHandler.java
/** * @author Dave Syer */ public class IbatisVariableTypeHandler implements TypeHandler<VariableType> { protected VariableTypes variableTypes;