Обсуждение: Any reason for PSQLState not to be Serializable?

Поиск
Список
Период
Сортировка

Any reason for PSQLState not to be Serializable?

От
Andreas Joseph Krogh
Дата:
It makes it impossible to serialize PGSQLExceptions

--
Andreas Joseph Krogh <andreak@officenet.no>
Senior Software Developer / Manager
gpg public_key: http://dev.officenet.no/~andreak/public_key.asc
------------------------+---------------------------------------------+
OfficeNet AS            | The most difficult thing in the world is to |
Karenslyst Allé 11      | know how to do a thing and to watch         |
PO. Box 529 Skøyen      | somebody else doing it wrong, without       |
0214 Oslo               | comment.                                    |
NORWAY                  |                                             |
Mobile: +47 909  56 963 |                                             |
------------------------+---------------------------------------------+

Re: Any reason for PSQLState not to be Serializable?

От
Kris Jurka
Дата:

On Thu, 1 Feb 2007, Andreas Joseph Krogh wrote:

> It makes it impossible to serialize PGSQLExceptions
>

http://gborg.postgresql.org/cgi-bin/cvsweb.cgi/pgjdbc/org/postgresql/util/PSQLState.java?cvsroot=pgjdbc

This says that PSQLState was made serializable 3 years ago (rev 1.4), so
as long as you have an 8.0 or higher driver you're fine.

Kris Jurka