aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2001-09-12 15:49:10 +0000
committerBruce Momjian <bruce@momjian.us>2001-09-12 15:49:10 +0000
commit0b8a76b24db901c756ae2badbb44ca426734191d (patch)
tree8a5ff126e94d6e7d9d9ad6562f1c7c11ef4dacb7 /doc/src
parentdfdbf6898f378420ef136daf3ce786b225dc9d5d (diff)
downloadpostgresql-0b8a76b24db901c756ae2badbb44ca426734191d.tar.gz
postgresql-0b8a76b24db901c756ae2badbb44ca426734191d.zip
Followings are proposed fixes to jdbc.sgml(line numbers are for 7.1.3
doc). Hiroyuki Yatabe
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/jdbc.sgml20
1 files changed, 10 insertions, 10 deletions
diff --git a/doc/src/sgml/jdbc.sgml b/doc/src/sgml/jdbc.sgml
index 63e197cf1f6..11394646254 100644
--- a/doc/src/sgml/jdbc.sgml
+++ b/doc/src/sgml/jdbc.sgml
@@ -1,5 +1,5 @@
<!--
-$Header: /cvsroot/pgsql/doc/src/sgml/Attic/jdbc.sgml,v 1.22 2001/09/10 21:58:46 petere Exp $
+$Header: /cvsroot/pgsql/doc/src/sgml/Attic/jdbc.sgml,v 1.23 2001/09/12 15:49:10 momjian Exp $
-->
<chapter id="jdbc">
@@ -576,12 +576,12 @@ fis.close();
<classname>Statement</classname> class can equally be used.)
<programlisting>
-PreparedStatement ps = con.prepareStatement("SELECT oid FROM images WHERE name=?");
+PreparedStatement ps = con.prepareStatement("SELECT imgoid FROM images WHERE imgname=?");
ps.setString(1, "myimage.gif");
ResultSet rs = ps.executeQuery();
if (rs != null) {
while(rs.next()) {
- InputStream is = rs.getBinaryInputStream(1);
+ InputStream is = rs.getBinaryStream(1);
// use the stream in some way here
is.close();
}
@@ -1277,7 +1277,7 @@ Variables
This is the center point
-public double radius
+ double radius
This is the radius
@@ -1993,7 +1993,7 @@ public byte[] read(int len) throws SQLException
<listitem>
<synopsis>
-public void read(byte buf[],
+public int read(byte buf[],
int off,
int len) throws SQLException
</synopsis>
@@ -2416,7 +2416,7 @@ here, and will be documented in the main documents in more detail.
Constructors
- public Serialize(Connection c,
+ public Serialize(org.postgresql.Connection c,
String type) throws SQLException
This creates an instance that can be used to serialize
@@ -2459,7 +2459,7 @@ table, and will not overwrite the old entries.
Throws: SQLException
on error
- public static void create(Connection con,
+ public static void create(org.postgresql.Connection con,
Object o) throws SQLException
This method is not used by the driver, but it creates a
@@ -2501,7 +2501,7 @@ table, and will not overwrite the old entries.
Throws: SQLException
on error
- public static void create(Connection con,
+ public static void create(org.postgresql.Connection con,
Object o) throws SQLException
This method is not used by the driver, but it creates a
@@ -2907,9 +2907,9 @@ sent over the network stream
Contains static methods to encrypt and compare passwords with Unix
encrypted passwords.
- See John Dumas's Java Crypt page for the original source.
+ See John Dumas's Java Crypt page for the original source.
- http://www.zeh.com/local/jfd/crypt.html
+ (Invalid URL) http://www.zeh.com/local/jfd/crypt.html
Methods