Problem with getBytes and TIME - Mailing list pgsql-jdbc

From Jon Swinth
Subject Problem with getBytes and TIME
Date
Msg-id 200208091905.g79J4wX03922@localhost.localdomain
Whole thread Raw
List pgsql-jdbc
Using latest posted devpgjdbc2.jar with PostgreSQL 7.2.1.  Client is JBoss
(www.jboss.org).  In the latest version of JBoss, they switched from calling
ResultSet.getObject() to ResultSet.getBytes().  This works fine for most
column types except TIME.  When JBoss tries to deserilize a TIME column from
ResultSet.getBytes() it runs into the following error:
java.io.StreamCorruptedException:  InputStream does not contain a serialized
object.

Any work around for this besides changing the definition of the columns?

pgsql-jdbc by date:

Previous
From: "Chris White"
Date:
Subject: Re: Can I check if a db connection is working?
Next
From: bvol
Date:
Subject: help with inserting data on postgresql on tomcat4