Logged In: YES
user_id=543482

ColorMapper is provided by application developer and must
implement org.jboss.ejb.plugins.cmp.jdbc.Mapper interface

public interface Mapper
{
/**
* This method is called when CMP field is stored.
* @param fieldValue - CMP field value
* @return column value.
*/
Object toColumnValue(Object fieldValue);

/**
* This method is called when CMP field is loaded.
* @param columnValue - loaded column value.
* @return CMP field value.
*/
Object toFieldValue(Object columnValue);
}