1
1
<!--
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 $
3
3
-->
4
4
5
5
<chapter id="jdbc">
@@ -1330,7 +1330,7 @@ Methods
1330
1330
obj - Object to compare with
1331
1331
1332
1332
Returns:
1333
- true if the two boxes are identical
1333
+ true if the two circles are identical
1334
1334
1335
1335
Overrides:
1336
1336
equals in class PGobject
@@ -1395,7 +1395,7 @@ Constructors
1395
1395
public PGline(String s) throws SQLException
1396
1396
1397
1397
Parameters:
1398
- s - definition of the circle in PostgreSQL's syntax.
1398
+ s - definition of the line in PostgreSQL's syntax.
1399
1399
1400
1400
Throws: SQLException
1401
1401
on conversion failure
@@ -1424,7 +1424,7 @@ syntax
1424
1424
obj - Object to compare with
1425
1425
1426
1426
Returns:
1427
- true if the two boxes are identical
1427
+ true if the two lines are identical
1428
1428
1429
1429
Overrides:
1430
1430
equals in class PGobject
@@ -1488,7 +1488,7 @@ Constructors
1488
1488
public PGlseg(String s) throws SQLException
1489
1489
1490
1490
Parameters:
1491
- s - definition of the circle in PostgreSQL's syntax.
1491
+ s - Definition of the line segment in PostgreSQL's syntax.
1492
1492
1493
1493
Throws: SQLException
1494
1494
on conversion failure
@@ -1517,7 +1517,7 @@ syntax
1517
1517
obj - Object to compare with
1518
1518
1519
1519
Returns:
1520
- true if the two boxes are identical
1520
+ true if the two line segments are identical
1521
1521
1522
1522
Overrides:
1523
1523
equals in class PGobject
@@ -1578,7 +1578,7 @@ Constructors
1578
1578
public PGpath(String s) throws SQLException
1579
1579
1580
1580
Parameters:
1581
- s - definition of the circle in PostgreSQL's syntax.
1581
+ s - definition of the path in PostgreSQL's syntax.
1582
1582
1583
1583
Throws: SQLException
1584
1584
on conversion failure
@@ -1602,7 +1602,7 @@ Methods
1602
1602
obj - Object to compare with
1603
1603
1604
1604
Returns:
1605
- true if the two boxes are identical
1605
+ true if the two pathes are identical
1606
1606
1607
1607
Overrides:
1608
1608
equals in class PGobject
@@ -1616,7 +1616,7 @@ Methods
1616
1616
1617
1617
public String getValue()
1618
1618
1619
- This returns the polygon in the syntax expected by
1619
+ This returns the path in the syntax expected by
1620
1620
<productname>PostgreSQL</productname>
1621
1621
1622
1622
Overrides:
@@ -1706,7 +1706,7 @@ Methods
1706
1706
obj - Object to compare with
1707
1707
1708
1708
Returns:
1709
- true if the two boxes are identical
1709
+ true if the two points are identical
1710
1710
1711
1711
Overrides:
1712
1712
equals in class PGobject
@@ -1818,7 +1818,7 @@ Constructors
1818
1818
public PGpolygon(String s) throws SQLException
1819
1819
1820
1820
Parameters:
1821
- s - definition of the circle in PostgreSQL's syntax.
1821
+ s - definition of the polygon in PostgreSQL's syntax.
1822
1822
1823
1823
Throws: SQLException
1824
1824
on conversion failure
@@ -1846,7 +1846,7 @@ Methods
1846
1846
obj - Object to compare with
1847
1847
1848
1848
Returns:
1849
- true if the two boxes are identical
1849
+ true if the two polygons are identical
1850
1850
1851
1851
Overrides:
1852
1852
equals in class PGobject
@@ -2473,49 +2473,7 @@ serializing any objects.
2473
2473
Throws: SQLException
2474
2474
on error
2475
2475
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
-
2504
2476
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,
2519
2477
Class c) throws SQLException
2520
2478
2521
2479
This method is not used by the driver, but it creates a
@@ -2596,11 +2554,10 @@ Constructors
2596
2554
2597
2555
public PGmoney(String value) throws SQLException
2598
2556
2599
- This is called mainly from the other geometric types, when a
2600
- point is imbeded within their definition.
2557
+ Create a money.
2601
2558
2602
2559
Parameters:
2603
- value - Definition of this point in PostgreSQL's
2560
+ value - Definition of this money in PostgreSQL's
2604
2561
syntax
2605
2562
2606
2563
public PGmoney()
@@ -2612,7 +2569,7 @@ Methods
2612
2569
public void setValue(String s) throws SQLException
2613
2570
2614
2571
Parameters:
2615
- s - Definition of this point in PostgreSQL's syntax
2572
+ s - Definition of this money in PostgreSQL's syntax
2616
2573
2617
2574
Throws: SQLException
2618
2575
on conversion failure
@@ -2626,7 +2583,7 @@ Methods
2626
2583
obj - Object to compare with
2627
2584
2628
2585
Returns:
2629
- true if the two boxes are identical
2586
+ true if the two moneys are identical
2630
2587
2631
2588
Overrides:
2632
2589
equals in class PGobject
@@ -2641,7 +2598,7 @@ Methods
2641
2598
public String getValue()
2642
2599
2643
2600
Returns:
2644
- the PGpoint in the syntax expected by <productname>PostgreSQL</productname>
2601
+ the PGmoney in the syntax expected by <productname>PostgreSQL</productname>
2645
2602
2646
2603
Overrides:
2647
2604
getValue in class PGobject
@@ -2720,7 +2677,7 @@ in the form required by <productname>PostgreSQL</productname>.
2720
2677
obj - Object to compare with
2721
2678
2722
2679
Returns:
2723
- true if the two boxes are identical
2680
+ true if the two objects are identical
2724
2681
2725
2682
Overrides:
2726
2683
equals in class Object
@@ -2851,9 +2808,6 @@ PGpoint).
2851
2808
2852
2809
Removes ( and ) from the beginning and end of all tokens
2853
2810
2854
- Returns:
2855
- String without the ( or )
2856
-
2857
2811
public static String removeBox(String s)
2858
2812
2859
2813
Removes [ and ] from the beginning and end of a string
@@ -2868,9 +2822,6 @@ PGpoint).
2868
2822
2869
2823
Removes [ and ] from the beginning and end of all tokens
2870
2824
2871
- Returns:
2872
- String without the [ or ]
2873
-
2874
2825
public static String removeAngle(String s)
2875
2826
2876
2827
Removes < and > from the beginning and end of a string
@@ -2885,9 +2836,6 @@ PGpoint).
2885
2836
2886
2837
Removes < and > from the beginning and end of all tokens
2887
2838
2888
- Returns:
2889
- String without the < or >
2890
-
2891
2839
<!-- **************************************************************** -->
2892
2840
Class org.postgresql.util.Serialize
2893
2841
0 commit comments