From: Oliver Jowett <oliver@opencloud.com>
To: Krutik Frank <krutikf@We-plan-IT.de>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Exception 'org.postgresql.util.PSQLException' could not be instantiated
Date: Sun, 16 May 2010 20:36:53 +1200
Message-ID: <4BEFAEA5.2040500@opencloud.com> (raw)
In-Reply-To: <FE552FAD-2CA5-44B3-83CB-BE4D075CA077@We-plan-IT.de>
References: <FE552FAD-2CA5-44B3-83CB-BE4D075CA077@We-plan-IT.de>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: oliver@opencloud.com, krutikf@We-plan-IT.de
Subject: Re: Exception 'org.postgresql.util.PSQLException' could not be instantiated
In-Reply-To: <4BEFAEA5.2040500@opencloud.com>
References: <FE552FAD-2CA5-44B3-83CB-BE4D075CA077@We-plan-IT.de> <4BEFAEA5.2040500@opencloud.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox