Skip site navigation (1) Skip section navigation (2)

JDBC arrays

From: Alexey Slynko <slynko(at)stack(dot)net>
To: pgsql-patches(at)postgresql(dot)org
Subject: JDBC arrays
Date: 2002-03-12 12:18:35
Message-ID: 20020312151321.J85024-100000@elizabet.stack.net (view raw or flat)
Thread:
Lists: pgsql-patches
This patch solve problems with arrays in latest development JDBC driver

*** src/interfaces/jdbc/org/postgresql/jdbc2/ResultSet.java.orig	Tue Mar 12 14:49:59 2002
--- src/interfaces/jdbc/org/postgresql/jdbc2/ResultSet.java	Tue Mar 12 14:50:22 2002
***************
*** 767,772 ****
--- 767,774 ----
  			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



Responses

pgsql-patches by date

Next:From: Ross J. ReedstromDate: 2002-03-12 18:21:04
Subject: Re: psql: backslash fix
Previous:From: Yury BokhoncovichDate: 2002-03-12 06:08:14
Subject: Re: ALTER TABLE OWNER: change indexes

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group