Problem with getBytes and TIME

Поиск
Список
Период
Сортировка
От Jon Swinth
Тема Problem with getBytes and TIME
Дата
Msg-id 200208091905.g79J4wX03922@localhost.localdomain
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: "Chris White"
Дата:
Сообщение: Re: Can I check if a db connection is working?
Следующее
От: bvol
Дата:
Сообщение: help with inserting data on postgresql on tomcat4