Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0b8a76b

Browse files
committed
Followings are proposed fixes to jdbc.sgml(line numbers are for 7.1.3
doc).Hiroyuki Yatabe
1 parentdfdbf68 commit0b8a76b

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

‎doc/src/sgml/jdbc.sgml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/Attic/jdbc.sgml,v 1.22 2001/09/10 21:58:46 petere Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/Attic/jdbc.sgml,v 1.23 2001/09/12 15:49:10 momjian Exp $
33
-->
44

55
<chapter id="jdbc">
@@ -576,12 +576,12 @@ fis.close();
576576
<classname>Statement</classname> class can equally be used.)
577577

578578
<programlisting>
579-
PreparedStatement ps = con.prepareStatement("SELECToid FROM images WHEREname=?");
579+
PreparedStatement ps = con.prepareStatement("SELECTimgoid FROM images WHEREimgname=?");
580580
ps.setString(1, "myimage.gif");
581581
ResultSet rs = ps.executeQuery();
582582
if (rs != null) {
583583
while(rs.next()) {
584-
InputStream is = rs.getBinaryInputStream(1);
584+
InputStream is = rs.getBinaryStream(1);
585585
// use the stream in some way here
586586
is.close();
587587
}
@@ -1277,7 +1277,7 @@ Variables
12771277

12781278
This is the center point
12791279

1280-
public double radius
1280+
double radius
12811281

12821282
This is the radius
12831283

@@ -1993,7 +1993,7 @@ public byte[] read(int len) throws SQLException
19931993

19941994
<listitem>
19951995
<synopsis>
1996-
publicvoid read(byte buf[],
1996+
publicint read(byte buf[],
19971997
int off,
19981998
int len) throws SQLException
19991999
</synopsis>
@@ -2416,7 +2416,7 @@ here, and will be documented in the main documents in more detail.
24162416

24172417
Constructors
24182418

2419-
public Serialize(Connection c,
2419+
public Serialize(org.postgresql.Connection c,
24202420
String type) throws SQLException
24212421

24222422
This creates an instance that can be used to serialize
@@ -2459,7 +2459,7 @@ table, and will not overwrite the old entries.
24592459
Throws: SQLException
24602460
on error
24612461

2462-
public static void create(Connection con,
2462+
public static void create(org.postgresql.Connection con,
24632463
Object o) throws SQLException
24642464

24652465
This method is not used by the driver, but it creates a
@@ -2501,7 +2501,7 @@ table, and will not overwrite the old entries.
25012501
Throws: SQLException
25022502
on error
25032503

2504-
public static void create(Connection con,
2504+
public static void create(org.postgresql.Connection con,
25052505
Object o) throws SQLException
25062506

25072507
This method is not used by the driver, but it creates a
@@ -2907,9 +2907,9 @@ sent over the network stream
29072907
Contains static methods to encrypt and compare passwords with Unix
29082908
encrypted passwords.
29092909

2910-
See John Dumas's Java Crypt page for the original source.
2910+
See John Dumas's Java Crypt page for the original source.
29112911

2912-
http://www.zeh.com/local/jfd/crypt.html
2912+
(Invalid URL)http://www.zeh.com/local/jfd/crypt.html
29132913

29142914
Methods
29152915

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp