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

pgsql/src/interfaces/jdbc/org/postgresql jdbc1 ...

From: momjian(at)postgresql(dot)org
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql/src/interfaces/jdbc/org/postgresql jdbc1 ...
Date: 2001-10-04 15:46:50
Message-ID: 200110041546.f94Fko917134@postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
CVSROOT:	/cvsroot
Module name:	pgsql
Changes by:	momjian(at)postgresql(dot)org	01/10/04 11:46:50

Modified files:
	src/interfaces/jdbc/org/postgresql/jdbc1: ResultSet.java 
	src/interfaces/jdbc/org/postgresql/jdbc2: ResultSet.java 

Log message:
	Attached is a patch which deals with
	
	select 'id' as xxx from table
	
	The issue is:
	
	When the driver gets a data type which does not map into the SQL.Types
	it attempts to load the object into a java object. Eventually throwing
	an exception indicating that the type "unknown" was not found.
	
	Since the backend defaults "unknown" types to text it was suggested that
	the jdbc driver do the same.
	
	This patch does just that.
	
	I have tested it on the above select statement as well as a small
	program that serializes, and deserializes a class
	
	Dave Cramer


pgsql-committers by date

Next:From: momjianDate: 2001-10-04 15:47:41
Subject: pgsql/src/pl/tcl pltcl.c
Previous:From: momjianDate: 2001-10-04 15:45:49
Subject: pgsql/src/pl/plpython plpython.c

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