Hi, While writing an example for a custom Hibernate Type which supports PostgreSQL arrays, I realized that the SqlTypeDescriptor only supports bind by name:
@Override protected void doBind(CallableStatement st, X value, String name, WrapperOptions options) throws SQLException { } However, for the java.sql.Array, we only have a bind by index method in java.sql.Statement: void setArray (int parameterIndex, Array x) throws SQLException; I remember that 6.0 is going to bind by index, so maybe this issue is already taken care of in the new version. Should we provide some fix for 5.x as well? Vlad _______________________________________________ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev