Received: from maia.hub.org (maia-1.hub.org [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id E95DC63240D for ; Sun, 16 May 2010 05:37:11 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 98633-07 for ; Sun, 16 May 2010 08:37:00 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from tremor.opencloud.co.nz (tremor.opencloud.co.nz [131.203.101.230]) by mail.postgresql.org (Postfix) with ESMTP id A53866323D4 for ; Sun, 16 May 2010 05:37:04 -0300 (ADT) Received: from 121-98-80-66.bitstream.orcon.net.nz ([121.98.80.66] helo=[192.168.1.2]) by tremor.opencloud.co.nz with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1ODZLG-0003PY-Cj; Sun, 16 May 2010 20:36:58 +1200 Message-ID: <4BEFAEA5.2040500@opencloud.com> Date: Sun, 16 May 2010 20:36:53 +1200 From: Oliver Jowett User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: Krutik Frank CC: pgsql-jdbc@postgresql.org Subject: Re: Exception 'org.postgresql.util.PSQLException' could not be instantiated References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.5 tagged_above=-10 required=5 tests=BAYES_05=-0.5 X-Spam-Level: X-Archive-Number: 201005/36 X-Sequence-Number: 20520 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