This might work:
public class UUIDTypeHandler implements TypeHandlerCallback {
@Override
public void setParameter(ParameterSetter setter, Object parameter)
throws SQLException {
setter.setObject(parameter);
}
@Override
public Object getResult(ResultGetter getter) throw
I am using postgres db and would like to map a java.util.UUID to a
postgres uuid column. Latest postgres driver supports mapping of this if
i was directly creating my prepared statements but since i use ibatis
inbetween, i am unable to achive this as ibatis does not seem to
understand that java