summaryrefslogtreecommitdiff
path: root/src/interfaces/jdbc/postgresql/Field.java
diff options
context:
space:
mode:
authorBruce Momjian1999-01-17 04:51:59 +0000
committerBruce Momjian1999-01-17 04:51:59 +0000
commit298682d9e0b0ec55d5f72cec1f4d43c23f2a1ac6 (patch)
tree57f9d4552366b3f9fe9552aafe47505ff61b14ac /src/interfaces/jdbc/postgresql/Field.java
parent4a6285ee445efc13f0e726be1629762ff366e602 (diff)
As the email posted to the announce and interfaces list, attached is a tar
file containing the latest version of the JDBC driver, allowing it to be compiled and used under JDK 1.2 and later. NB: None (well almost none) of the new methods actually do anything. This release only handles getting it to compile and run. Now this is done, I'll start working on implementing the new stuff. Now this tar file replaces everything under src/interfaces/jdbc. I had to do it this way, rather than diffs, because most of the classes under the postgresql subdirectory have moved to a new directory under that one, to enable the support of the two JDBC standards. Here's a list of files in the tar file. Any file not listed here (in the postgresql directory) will have to be deleted, otherwise it could cause the driver to fail: Peter Mount
Diffstat (limited to 'src/interfaces/jdbc/postgresql/Field.java')
-rw-r--r--src/interfaces/jdbc/postgresql/Field.java13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/interfaces/jdbc/postgresql/Field.java b/src/interfaces/jdbc/postgresql/Field.java
index b39aab20c15..416ddaa7e27 100644
--- a/src/interfaces/jdbc/postgresql/Field.java
+++ b/src/interfaces/jdbc/postgresql/Field.java
@@ -11,13 +11,14 @@ import postgresql.*;
*/
public class Field
{
- int length; // Internal Length of this field
- int oid; // OID of the type
- Connection conn; // Connection Instantation
- String name; // Name of this field
+ public int length; // Internal Length of this field
+ public int oid; // OID of the type
+ public String name; // Name of this field
- int sql_type = -1; // The entry in java.sql.Types for this field
- String type_name = null;// The sql type name
+ protected Connection conn; // Connection Instantation
+
+ public int sql_type = -1; // The entry in java.sql.Types for this field
+ public String type_name = null;// The sql type name
/**
* Construct a field based on the information fed to it.