patch from Alexey Slynko

This patch solve problems with arrays in latest development JDBC driver
ecpg_big_bison
Dave Cramer 24 years ago
parent 31effd10fe
commit a2b5512929
  1. 2
      src/interfaces/jdbc/org/postgresql/jdbc2/ResultSet.java

@ -767,6 +767,8 @@ public class ResultSet extends org.postgresql.ResultSet implements java.sql.Resu
case Types.BINARY:
case Types.VARBINARY:
return getBytes(columnIndex);
case Types.ARRAY:
return getArray(columnIndex);
default:
String type = field.getPGType();
// if the backend doesn't know the type then coerce to String

Loading…
Cancel
Save