Index: doc/src/sgml/jdbc.sgml =================================================================== RCS file: /home/projects/pgsql/cvsroot/pgsql/doc/src/sgml/jdbc.sgml,v retrieving revision 1.22 diff -c -r1.22 jdbc.sgml *** doc/src/sgml/jdbc.sgml 2001/09/10 21:58:46 1.22 --- doc/src/sgml/jdbc.sgml 2001/09/12 15:46:13 *************** *** 576,587 **** Statement class can equally be used.) ! PreparedStatement ps = con.prepareStatement("SELECT oid FROM images WHERE name=?"); ps.setString(1, "myimage.gif"); ResultSet rs = ps.executeQuery(); if (rs != null) { while(rs.next()) { ! InputStream is = rs.getBinaryInputStream(1); // use the stream in some way here is.close(); } --- 576,587 ---- Statement class can equally be used.) ! 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.getBinaryStream(1); // use the stream in some way here is.close(); } *************** *** 1277,1283 **** This is the center point ! public double radius This is the radius --- 1277,1283 ---- This is the center point ! double radius This is the radius *************** *** 1993,1999 **** ! public void read(byte buf[], int off, int len) throws SQLException --- 1993,1999 ---- ! public int read(byte buf[], int off, int len) throws SQLException *************** *** 2416,2422 **** Constructors ! public Serialize(Connection c, String type) throws SQLException This creates an instance that can be used to serialize --- 2416,2422 ---- Constructors ! public Serialize(org.postgresql.Connection c, String type) throws SQLException This creates an instance that can be used to serialize *************** *** 2459,2465 **** Throws: SQLException on error ! public static void create(Connection con, Object o) throws SQLException This method is not used by the driver, but it creates a --- 2459,2465 ---- Throws: SQLException on error ! 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,2507 **** Throws: SQLException on error ! public static void create(Connection con, Object o) throws SQLException This method is not used by the driver, but it creates a --- 2501,2507 ---- Throws: SQLException on error ! 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,2915 **** Contains static methods to encrypt and compare passwords with Unix encrypted passwords. ! See John Dumas's Java Crypt page for the original source. ! http://www.zeh.com/local/jfd/crypt.html Methods --- 2907,2915 ---- Contains static methods to encrypt and compare passwords with Unix encrypted passwords. ! See John Dumas's Java Crypt page for the original source. ! (Invalid URL) http://www.zeh.com/local/jfd/crypt.html Methods