Skip to content

Commit aaed778

Browse files
committed
Attached patch is correction for 'doc/jdbc.sgml' of PostgreSQL 7.1.3.
Correction content: * I revised a mistake of type (copy and paste). * I revised multiplicity of description. Ryouichi Matsuda
1 parent 0b8a76b commit aaed778

File tree

1 file changed

+18
-70
lines changed

1 file changed

+18
-70
lines changed

doc/src/sgml/jdbc.sgml

Lines changed: 18 additions & 70 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.23 2001/09/12 15:49:10 momjian Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/Attic/jdbc.sgml,v 1.24 2001/09/12 15:55:00 momjian Exp $
33
-->
44

55
<chapter id="jdbc">
@@ -1330,7 +1330,7 @@ Methods
13301330
obj - Object to compare with
13311331

13321332
Returns:
1333-
true if the two boxes are identical
1333+
true if the two circles are identical
13341334

13351335
Overrides:
13361336
equals in class PGobject
@@ -1395,7 +1395,7 @@ Constructors
13951395
public PGline(String s) throws SQLException
13961396

13971397
Parameters:
1398-
s - definition of the circle in PostgreSQL's syntax.
1398+
s - definition of the line in PostgreSQL's syntax.
13991399

14001400
Throws: SQLException
14011401
on conversion failure
@@ -1424,7 +1424,7 @@ syntax
14241424
obj - Object to compare with
14251425

14261426
Returns:
1427-
true if the two boxes are identical
1427+
true if the two lines are identical
14281428

14291429
Overrides:
14301430
equals in class PGobject
@@ -1488,7 +1488,7 @@ Constructors
14881488
public PGlseg(String s) throws SQLException
14891489

14901490
Parameters:
1491-
s - definition of the circle in PostgreSQL's syntax.
1491+
s - Definition of the line segment in PostgreSQL's syntax.
14921492

14931493
Throws: SQLException
14941494
on conversion failure
@@ -1517,7 +1517,7 @@ syntax
15171517
obj - Object to compare with
15181518

15191519
Returns:
1520-
true if the two boxes are identical
1520+
true if the two line segments are identical
15211521

15221522
Overrides:
15231523
equals in class PGobject
@@ -1578,7 +1578,7 @@ Constructors
15781578
public PGpath(String s) throws SQLException
15791579

15801580
Parameters:
1581-
s - definition of the circle in PostgreSQL's syntax.
1581+
s - definition of the path in PostgreSQL's syntax.
15821582

15831583
Throws: SQLException
15841584
on conversion failure
@@ -1602,7 +1602,7 @@ Methods
16021602
obj - Object to compare with
16031603

16041604
Returns:
1605-
true if the two boxes are identical
1605+
true if the two pathes are identical
16061606

16071607
Overrides:
16081608
equals in class PGobject
@@ -1616,7 +1616,7 @@ Methods
16161616

16171617
public String getValue()
16181618

1619-
This returns the polygon in the syntax expected by
1619+
This returns the path in the syntax expected by
16201620
<productname>PostgreSQL</productname>
16211621

16221622
Overrides:
@@ -1706,7 +1706,7 @@ Methods
17061706
obj - Object to compare with
17071707

17081708
Returns:
1709-
true if the two boxes are identical
1709+
true if the two points are identical
17101710

17111711
Overrides:
17121712
equals in class PGobject
@@ -1818,7 +1818,7 @@ Constructors
18181818
public PGpolygon(String s) throws SQLException
18191819

18201820
Parameters:
1821-
s - definition of the circle in PostgreSQL's syntax.
1821+
s - definition of the polygon in PostgreSQL's syntax.
18221822

18231823
Throws: SQLException
18241824
on conversion failure
@@ -1846,7 +1846,7 @@ Methods
18461846
obj - Object to compare with
18471847

18481848
Returns:
1849-
true if the two boxes are identical
1849+
true if the two polygons are identical
18501850

18511851
Overrides:
18521852
equals in class PGobject
@@ -2473,49 +2473,7 @@ serializing any objects.
24732473
Throws: SQLException
24742474
on error
24752475

2476-
Returns:
2477-
Object relating to oid
2478-
2479-
Throws: SQLException
2480-
on error
2481-
2482-
public int store(Object o) throws SQLException
2483-
2484-
This stores an object into a table, returning it's OID.
2485-
2486-
If the object has an int called OID, and it is > 0, then
2487-
that value is used for the OID, and the table will be updated. If the
2488-
value of OID is 0, then a new row will be created, and the value of
2489-
OID will be set in the object. This enables an object's value in the
2490-
database to be updateable. If the object has no int called OID, then
2491-
the object is stored. However if the object is later retrieved,
2492-
amended and stored again, it's new state will be appended to the
2493-
table, and will not overwrite the old entries.
2494-
2495-
Parameters:
2496-
o - Object to store (must implement Serializable)
2497-
2498-
Returns:
2499-
oid of stored object
2500-
2501-
Throws: SQLException
2502-
on error
2503-
25042476
public static void create(org.postgresql.Connection con,
2505-
Object o) throws SQLException
2506-
2507-
This method is not used by the driver, but it creates a
2508-
table, given a Serializable Java Object. It should be used before
2509-
serializing any objects.
2510-
2511-
Parameters:
2512-
c - Connection to database
2513-
o - Object to base table on
2514-
2515-
Throws: SQLException
2516-
on error
2517-
2518-
public static void create(Connection con,
25192477
Class c) throws SQLException
25202478

25212479
This method is not used by the driver, but it creates a
@@ -2596,11 +2554,10 @@ Constructors
25962554

25972555
public PGmoney(String value) throws SQLException
25982556

2599-
This is called mainly from the other geometric types, when a
2600-
point is imbeded within their definition.
2557+
Create a money.
26012558

26022559
Parameters:
2603-
value - Definition of this point in PostgreSQL's
2560+
value - Definition of this money in PostgreSQL's
26042561
syntax
26052562

26062563
public PGmoney()
@@ -2612,7 +2569,7 @@ Methods
26122569
public void setValue(String s) throws SQLException
26132570

26142571
Parameters:
2615-
s - Definition of this point in PostgreSQL's syntax
2572+
s - Definition of this money in PostgreSQL's syntax
26162573

26172574
Throws: SQLException
26182575
on conversion failure
@@ -2626,7 +2583,7 @@ Methods
26262583
obj - Object to compare with
26272584

26282585
Returns:
2629-
true if the two boxes are identical
2586+
true if the two moneys are identical
26302587

26312588
Overrides:
26322589
equals in class PGobject
@@ -2641,7 +2598,7 @@ Methods
26412598
public String getValue()
26422599

26432600
Returns:
2644-
the PGpoint in the syntax expected by <productname>PostgreSQL</productname>
2601+
the PGmoney in the syntax expected by <productname>PostgreSQL</productname>
26452602

26462603
Overrides:
26472604
getValue in class PGobject
@@ -2720,7 +2677,7 @@ in the form required by <productname>PostgreSQL</productname>.
27202677
obj - Object to compare with
27212678

27222679
Returns:
2723-
true if the two boxes are identical
2680+
true if the two objects are identical
27242681

27252682
Overrides:
27262683
equals in class Object
@@ -2851,9 +2808,6 @@ PGpoint).
28512808

28522809
Removes ( and ) from the beginning and end of all tokens
28532810

2854-
Returns:
2855-
String without the ( or )
2856-
28572811
public static String removeBox(String s)
28582812

28592813
Removes [ and ] from the beginning and end of a string
@@ -2868,9 +2822,6 @@ PGpoint).
28682822

28692823
Removes [ and ] from the beginning and end of all tokens
28702824

2871-
Returns:
2872-
String without the [ or ]
2873-
28742825
public static String removeAngle(String s)
28752826

28762827
Removes < and > from the beginning and end of a string
@@ -2885,9 +2836,6 @@ PGpoint).
28852836

28862837
Removes < and > from the beginning and end of all tokens
28872838

2888-
Returns:
2889-
String without the < or >
2890-
28912839
<!-- **************************************************************** -->
28922840
Class org.postgresql.util.Serialize
28932841

0 commit comments

Comments
 (0)