From a2b551292932b97d6e6abccd013884c299e0043b Mon Sep 17 00:00:00 2001 From: Dave Cramer Date: Fri, 15 Mar 2002 04:11:49 +0000 Subject: [PATCH] patch from Alexey Slynko This patch solve problems with arrays in latest development JDBC driver --- src/interfaces/jdbc/org/postgresql/jdbc2/ResultSet.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/interfaces/jdbc/org/postgresql/jdbc2/ResultSet.java b/src/interfaces/jdbc/org/postgresql/jdbc2/ResultSet.java index dd12cda7da..d9e37035ee 100644 --- a/src/interfaces/jdbc/org/postgresql/jdbc2/ResultSet.java +++ b/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 -- 2.40.0