Attached is a patch which deals with

Bruce Momjian <bruce@momjian.us>

Commit: 60553337d72f73d663f46d0e6a62e8c81077b322
Author: Bruce Momjian <bruce@momjian.us>
Date: 2001-10-04T15:46:49Z
Releases: 7.2.1
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

Files