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

PostgreSQL 7.4.1 JDBC driver bug

From: Declan Lynch <declan(dot)lynch(at)dit(dot)ie>
To: pgsql-bugs(at)postgresql(dot)org
Subject: PostgreSQL 7.4.1 JDBC driver bug
Date: 2004-05-05 09:44:20
Message-ID: 001301c43285$8b111c10$23e5fc93@dlynch (view raw, whole thread or download thread mbox)
Lists: pgsql-bugs
PostgreSQL 7.4.1 JDBC driver bug

In the package


the class PGcircle contains what I think is an "oversight".

For classes in this package fields are declared "public" allowing direct access.  This is true for all classes execept PGcircle where the radius field is declared without a modifier.  This makes the class unusable from a java program without modification, as no accessor method is defined.

The source code reads

public class PGcircle extends PGobject implements Serializable, Cloneable
  * This is the centre point
 public PGpoint center;

  * This is the radius
 double radius;

Hope you can fix this in a later release,

Declan Lynch
School of Control Systems and Electrical Engineering
Dublin Institute of Technology
Kevin Street
Dublin 8

e-mail: declan(dot)lynch(at)dit(dot)ie
Tel: +353 1 4024721
Fax: +353 1 4024999

This message has been scanned for content and 
viruses by the DIT Information Services MailScanner 
Service, and is believed to be clean.


pgsql-bugs by date

Next:From: CustomerSupportDate: 2004-05-05 12:05:39
Subject: Security Measures (SafeHarbor) (KMM82003618V76837L0KM)
Previous:From: Pavel StehuleDate: 2004-05-05 09:43:49
Subject: problem with instalation plpgsql on Mandrake

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