Re: Exception 'org.postgresql.util.PSQLException' could not be instantiated

Поиск
Список
Период
Сортировка
От Oliver Jowett
Тема Re: Exception 'org.postgresql.util.PSQLException' could not be instantiated
Дата
Msg-id 4BEFAEA5.2040500@opencloud.com
обсуждение исходный текст
Ответ на Exception 'org.postgresql.util.PSQLException' could not be instantiated  (Krutik Frank <krutikf@We-plan-IT.de>)
Список pgsql-jdbc
Krutik Frank wrote:
> Hello,
>
> i have a problem to get a PSQLException. The reason is Hessian as
> transport layer. Hessian de-/serializes every Object automatically (Java
> Reflection) and needs for every object an standard constructor without
> parameters. your actual driver version don't includes a version
> of org.postgresql.util.PSQLException with a standard constructor without
> parameters.

Well.. you are correct, it doesn't include such a constructor, because
there's no need for it.

There are probably many other incompatibilities with Hessian. I don't
know if applying something like Hessian directly to the driver's objects
is a sensible thing to do. You probably want a wrapper layer.

-O

В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Krutik Frank
Дата:
Сообщение: Exception 'org.postgresql.util.PSQLException' could not be instantiated
Следующее
От: Maciek Sakrejda
Дата:
Сообщение: Re: Socket close exception