pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Exception 'org.postgresql.util.PSQLException' could not be instantiated
3+ messages / 3 participants
[nested] [flat]

* Exception 'org.postgresql.util.PSQLException' could not be instantiated
@ 2010-05-15 16:13 Krutik Frank <krutikf@We-plan-IT.de>
  2010-05-16 08:36 ` Re: Exception 'org.postgresql.util.PSQLException' could not be instantiated Oliver Jowett <oliver@opencloud.com>
  2010-05-27 14:00 ` Re: Exception 'org.postgresql.util.PSQLException' could not be instantiated Daniel Migowski <dmigowski@ikoffice.de>
  0 siblings, 2 replies; 3+ messages in thread

From: Krutik Frank @ 2010-05-15 16:13 UTC (permalink / raw)
  To: pgsql-jdbc

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.

The actual version of the driver i use is  8.4-701 JDBC 4 , the version of the database is version 8.3, the hessian version is 4.0.6, the JDK Version is 1.6.0_07, the eclipse version is 3.5.2  and the operating system is Mac OSX Version 10.6.3 (Snow Leopard).

Kind regards,

Frank Krutik
We plan IT GmbH
Auf dem Berlich 26
50667 Köln
HRB 31271
Ust-ID DE197824561

Tel.: +49 221 67774274-0
Mobil: +49 177 7967833

mailto: krutikf@We-plan-IT.de
URL: http://we-plan-it.de

^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Exception 'org.postgresql.util.PSQLException' could not be instantiated
  2010-05-15 16:13 Exception 'org.postgresql.util.PSQLException' could not be instantiated Krutik Frank <krutikf@We-plan-IT.de>
@ 2010-05-16 08:36 ` Oliver Jowett <oliver@opencloud.com>
  1 sibling, 0 replies; 3+ messages in thread

From: Oliver Jowett @ 2010-05-16 08:36 UTC (permalink / raw)
  To: Krutik Frank <krutikf@We-plan-IT.de>; +Cc: 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



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Exception 'org.postgresql.util.PSQLException' could not be instantiated
  2010-05-15 16:13 Exception 'org.postgresql.util.PSQLException' could not be instantiated Krutik Frank <krutikf@We-plan-IT.de>
@ 2010-05-27 14:00 ` Daniel Migowski <dmigowski@ikoffice.de>
  1 sibling, 0 replies; 3+ messages in thread

From: Daniel Migowski @ 2010-05-27 14:00 UTC (permalink / raw)
  To: pgsql-jdbc

Am 15.05.2010 18:13, schrieb Krutik Frank:
> 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.
Standard Java Serialization can handle the Exception, so Hession should 
cope with the issue.

Regards,
Daniel Migowski

Attachments:

dmigowski.vcf (text/x-vcard, 293B) download begin:vcard fn:Daniel Migowski n:Migowski;Daniel org:IKOffice.de adr:;;Nordstr. 10;Oldenburg;Niedersachen;26123;Deutschland email;internet:dmigowski@ikoffice.de title:Dipl.-Inf. tel;work:0441-2198895-2 tel;fax:0441-2198895-5 x-mozilla-html:TRUE url:http://www.ikoffice.de version:2.1 end:vcard
^ permalink raw reply [nested|flat] 3+ messages in thread


end of thread, other threads:[~2010-05-27 14:00 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2010-05-15 16:13 Exception 'org.postgresql.util.PSQLException' could not be instantiated Krutik Frank <krutikf@We-plan-IT.de>
2010-05-16 08:36 ` Oliver Jowett <oliver@opencloud.com>
2010-05-27 14:00 ` Daniel Migowski <dmigowski@ikoffice.de>

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