Skip site navigation (1) Skip section navigation (2)

JDBC example is not working with Kaffe 1.0b3

From: Constantin Teodorescu <teo(at)flex(dot)ro>
To: PostgreSQL Interfaces <pgsql-interfaces(at)postgresql(dot)org>
Subject: JDBC example is not working with Kaffe 1.0b3
Date: 1998-12-30 08:13:51
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-interfaces
I tried to run a JDBC example that come with PostgreSQL 6.4.1 using
Kaffe 1.0b3 on a RedHat 5.1 i386 Pentium machine

The example was running fine using jdk 1.1.7 but got the following error
using Kaffe :

java.sql.SQLException: IOError while reading from backend: The backend has broken the connection. Possibly the
action you have attempted has caused it to close.
  at java/lang/Throwable.<init>(37)
  at java/lang/Exception.<init>(21)
  at java/sql/SQLException.<init>(21)
  at java/sql/SQLException.<init>(32)
  at postgresql/PG_Stream.ReceiveIntegerR(237)
  at postgresql/Connection.ReceiveFields(761)
  at postgresql/Connection.ExecSQL(734)
  at postgresql/Statement.execute(259)
  at postgresql/Statement.executeQuery(46)
  at dbt.doexample(46)
  at dbt.<init>(17)
  at dbt.main(62)

The example is creating a table, insert some records in it and try to
query the table.
The program is making ok the table, the records are inserted fine
(checked with psql) but it crashes when trying to query the table.

Does somebody knows what could happening?

Best regards,
Constantin Teodorescu
FLEX Consulting Braila, ROMANIA


pgsql-interfaces by date

Next:From: Dave PageDate: 1998-12-30 09:03:08
Subject: RE: [INTERFACES] ODBC DRIVER v06-40-0002
Previous:From: Peter T MountDate: 1998-12-29 20:29:48
Subject: New version of JDBC driver

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group