pgConnection.addDataType("daterange", DateRangeType.class);
pgConnection.addDataType("tsrange", TsRangeType.class);
pgConnection.addDataType("tstzrange", TstzRangeType.class);
pgConnection.addDataType("int4range", Int4RangeType.class);
pgConnection.addDataType("int8range", Int8RangeType.class);
pgConnection.addDataType("numrange", NumRangeType.class);
return connection;
}
@Override // due statement.setNull(index, Types.BLOB) not working :
// org.postgresql.util.PSQLException: ERROR: column "sample_binary" is of type bytea but expression is of type oid