Re: java.util.UUID to postgres uuid column

2010-02-09 Thread Larry Meadors
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

java.util.UUID to postgres uuid column

2010-02-09 Thread Vikram Subbarao
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