Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a2b5512

Browse files
author
Dave Cramer
committed
patch from Alexey Slynko
This patch solve problems with arrays in latest development JDBC driver
1 parent 31effd1 commit a2b5512

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/interfaces/jdbc/org/postgresql/jdbc2/ResultSet.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -767,6 +767,8 @@ public Object getObject(int columnIndex) throws SQLException
767767
case Types.BINARY:
768768
case Types.VARBINARY:
769769
return getBytes(columnIndex);
770+
case Types.ARRAY:
771+
return getArray(columnIndex);
770772
default:
771773
String type = field.getPGType();
772774
// if the backend doesn't know the type then coerce to String

0 commit comments

Comments
 (0)