author | jjiang |
Tue, 23 Apr 2019 10:08:52 +0800 | |
changeset 54588 | f203906d0dde |
parent 54057 | 687e10fefa11 |
child 55422 | c439c469e803 |
permissions | -rw-r--r-- |
50444
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
1 |
/* |
54057 | 2 |
* Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved. |
50444
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
3 |
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
4 |
* |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
5 |
* This code is free software; you can redistribute it and/or modify it |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
6 |
* under the terms of the GNU General Public License version 2 only, as |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
7 |
* published by the Free Software Foundation. Oracle designates this |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
8 |
* particular file as subject to the "Classpath" exception as provided |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
9 |
* by Oracle in the LICENSE file that accompanied this code. |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
10 |
* |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
11 |
* This code is distributed in the hope that it will be useful, but WITHOUT |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
12 |
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
13 |
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
14 |
* version 2 for more details (a copy is included in the LICENSE file that |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
15 |
* accompanied this code). |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
16 |
* |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
17 |
* You should have received a copy of the GNU General Public License version |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
18 |
* 2 along with this work; if not, write to the Free Software Foundation, |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
19 |
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
20 |
* |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
21 |
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
22 |
* or visit www.oracle.com if you need additional information or have any |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
23 |
* questions. |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
24 |
*/ |
24197 | 25 |
|
50444
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
26 |
/** |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
27 |
* Standard interfaces and base classes for JDBC <code>RowSet</code> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
28 |
* implementations. This package contains interfaces and classes |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
29 |
* that a standard <code>RowSet</code> implementation either implements or extends. |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
30 |
* |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
31 |
* <h2>Table of Contents</h2> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
32 |
* <ul> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
33 |
* <li><a href="#pkgspec">1.0 Package Specification</a> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
34 |
* <li><a href="#stdrowset">2.0 Standard RowSet Definitions</a> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
35 |
* <li><a href="#impl">3.0 Implementer's Guide</a> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
36 |
* <li><a href="#relspec">4.0 Related Specifications</a> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
37 |
* <li><a href="#reldocs">5.0 Related Documentation</a> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
38 |
* </ul> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
39 |
* |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
40 |
* <h3><a id="pkgspec">1.0 Package Specification</a></h3> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
41 |
* This package specifies five standard JDBC <code>RowSet</code> interfaces. |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
42 |
* All five extend the |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
43 |
* <a href="{@docRoot}/java.sql/javax/sql/RowSet.html">RowSet</a> interface described in the JDBC 3.0 |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
44 |
* specification. It is anticipated that additional definitions |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
45 |
* of more specialized JDBC <code>RowSet</code> types will emerge as this technology |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
46 |
* matures. Future definitions <i>should</i> be specified as subinterfaces using |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
47 |
* inheritance similar to the way it is used in this specification. |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
48 |
* <p> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
49 |
* <i>Note:</i> The interface definitions provided in this package form the basis for |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
50 |
* all compliant JDBC <code>RowSet</code> implementations. Vendors and more advanced |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
51 |
* developers who intend to provide their own compliant <code>RowSet</code> implementations |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
52 |
* should pay particular attention to the assertions detailed in specification |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
53 |
* interfaces. |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
54 |
* |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
55 |
* <h3><a id="stdrowset">2.0 Standard RowSet Definitions</a></h3> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
56 |
* <ul> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
57 |
* <li><a href="JdbcRowSet.html"><b><code>JdbcRowSet</code></b></a> - A wrapper around |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
58 |
* a <code>ResultSet</code> object that makes it possible to use the result set as a |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
59 |
* JavaBeans™ component. Thus, |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
60 |
* a <code>JdbcRowSet</code> object can be a Bean that any tool |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
61 |
* makes available for assembling an application as part of a component based |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
62 |
* architecture. A <code>JdbcRowSet</code> object is a connected <code>RowSet</code> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
63 |
* object, that is, it |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
64 |
* <b>must</b> continually maintain its connection to its data source using a JDBC |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
65 |
* technology-enabled driver ("JDBC driver"). In addition, a <code>JdbcRowSet</code> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
66 |
* object provides a fully updatable and scrollable tabular |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
67 |
* data structure as defined in the JDBC 3.0 specification. |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
68 |
* |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
69 |
* <li><a href="CachedRowSet.html"> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
70 |
* <b><code>CachedRowSet</code>™</b></a> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
71 |
* - A <code>CachedRowSet</code> object is a JavaBeans™ |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
72 |
* component that is scrollable, updatable, serializable, and generally disconnected from |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
73 |
* the source of its data. A <code>CachedRowSet</code> object |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
74 |
* typically contains rows from a result set, but it can also contain rows from any |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
75 |
* file with a tabular format, such as a spreadsheet. <code>CachedRowSet</code> implementations |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
76 |
* <b>must</b> use the <code>SyncFactory</code> to manage and obtain pluggable |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
77 |
* <code>SyncProvider</code> objects to provide synchronization between the |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
78 |
* disconnected <code>RowSet</code> object and the originating data source. |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
79 |
* Typically a <code>SyncProvider</code> implementation relies upon a JDBC |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
80 |
* driver to obtain connectivity to a particular data source. |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
81 |
* Further details on this mechanism are discussed in the <a |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
82 |
* href="spi/package-summary.html"><code>javax.sql.rowset.spi</code></a> package |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
83 |
* specification. |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
84 |
* |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
85 |
* <li><a href="WebRowSet.html"><b><code>WebRowSet</code></b></a> - A |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
86 |
* <code>WebRowSet</code> object is an extension of <code>CachedRowSet</code> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
87 |
* that can read and write a <code>RowSet</code> object in a well formed XML format. |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
88 |
* This class calls an <a href="spi/XmlReader.html"><code>XmlReader</code></a> object |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
89 |
* (an extension of the <a href="{@docRoot}/java.sql/javax/sql/RowSetReader.html"><code>RowSetReader</code></a> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
90 |
* interface) to read a rowset in XML format. It calls an |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
91 |
* <a href="spi/XmlWriter.html"><code>XmlWriter</code></a> object (an extension of the |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
92 |
* <a href="{@docRoot}/java.sql/javax/sql/RowSetWriter.html"><code>RowSetWriter</code></a> interface) |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
93 |
* to write a rowset in XML format. The reader and writer required by |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
94 |
* <code>WebRowSet</code> objects are provided by the |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
95 |
* <code>SyncFactory</code> in the form of <code>SyncProvider</code> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
96 |
* implementations. In order to ensure well formed XML usage, a standard generic XML |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
97 |
* Schema is defined and published at |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
98 |
* <a href="http://java.sun.com/xml/ns/jdbc/webrowset.xsd"> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
99 |
* <code>http://java.sun.com/xml/ns/jdbc/webrowset.xsd</code></a>. |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
100 |
* |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
101 |
* <li><a href="FilteredRowSet.html"><b><code>FilteredRowSet</code></b></a> - A |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
102 |
* <code>FilteredRowSet</code> object provides filtering functionality in a programmatic |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
103 |
* and extensible way. There are many instances when a <code>RowSet</code> <code>object</code> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
104 |
* has a need to provide filtering in its contents without sacrificing the disconnected |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
105 |
* environment, thus saving the expense of having to create a connection to the data source. |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
106 |
* Solutions to this need vary from providing heavyweight full scale |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
107 |
* SQL query abilities, to portable components, to more lightweight |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
108 |
* approaches. A <code>FilteredRowSet</code> object consumes |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
109 |
* an implementation of the <a href="Predicate.html"><code>Predicate</code></a> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
110 |
* interface, which <b>may</b> define a filter at run time. In turn, a |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
111 |
* <code>FilteredRowSet</code> object is tasked with enforcing the set filter for both |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
112 |
* inbound and outbound read and write operations. That is, all filters can be |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
113 |
* considered as bi-directional. No standard filters are defined; |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
114 |
* however, sufficient mechanics are specified to permit any required filter to be |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
115 |
* implemented. |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
116 |
* |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
117 |
* <li><a href="JoinRowSet.html"><b><code>JoinRowSet</code></b></a> - The <code>JoinRowSet</code> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
118 |
* interface describes a mechanism by which relationships can be established between |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
119 |
* two or more standard <code>RowSet</code> implementations. Any number of <code>RowSet</code> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
120 |
* objects can be added to a <code>JoinRowSet</code> object provided the <code>RowSet</code>objects |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
121 |
* can be related in a SQL <code>JOIN</code> like fashion. By definition, the SQL <code>JOIN</code> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
122 |
* statement is used to combine the data contained in two (<i>or more</i>) relational |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
123 |
* database tables based upon a common attribute. By establishing and then enforcing |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
124 |
* column matches, a <code>JoinRowSet</code> object establishes relationships between |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
125 |
* <code>RowSet</code> instances without the need to touch the originating data source. |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
126 |
* </ul> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
127 |
* |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
128 |
* <h3><a id="impl">3.0 Implementer's Guide</a></h3> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
129 |
* Compliant implementations of JDBC <code>RowSet</code> Implementations |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
130 |
* <b>must</b> follow the assertions described in this specification. In accordance |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
131 |
* with the terms of the <a href="http://www.jcp.org">Java Community Process</a>, a |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
132 |
* Test Compatibility Kit (TCK) can be licensed to ensure compatibility with the |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
133 |
* specification. The following paragraphs outline a number of starting points for |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
134 |
* implementers of the standard JDBC <code>RowSet</code> definitions. Implementers |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
135 |
* should also consult the <i>Implementer's Guide</i> in the <a |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
136 |
* href="spi/package-summary.html">javax.sql.rowset.spi</a> package for guidelines |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
137 |
* on <a href="spi/SyncProvider.html"><code>SyncProvider</code></a> implementations. |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
138 |
* |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
139 |
* <ul> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
140 |
* <li><b>3.1 Constructor</b> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
141 |
* <p> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
142 |
* All <code>RowSet</code> implementations <strong>must</strong> provide a |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
143 |
* no-argument constructor. |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
144 |
* </li> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
145 |
* <li><b>3.2 Role of the <code>BaseRowSet</code> Class</b> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
146 |
* <p> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
147 |
* A compliant JDBC <code>RowSet</code> implementation <b>must</b> implement one or more |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
148 |
* standard interfaces specified in this package and <b>may</b> extend the |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
149 |
* <a href="BaseRowSet.html"><code>BaseRowSet</code></a> abstract class. For example, a |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
150 |
* <code>CachedRowSet</code> implementation must implement the <code>CachedRowSet</code> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
151 |
* interface and extend the <code>BaseRowSet</code> abstract class. The |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
152 |
* <code>BaseRowSet</code> class provides the standard architecture on which all |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
153 |
* <code>RowSet</code> implementations should be built, regardless of whether the |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
154 |
* <code>RowSet</code> objects exist in a connected or disconnected environment. |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
155 |
* The <code>BaseRowSet</code> abstract class provides any <code>RowSet</code> implementation |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
156 |
* with its base functionality, including property manipulation and event notification |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
157 |
* that is fully compliant with <a href="http://java.sun.com/products/javabeans">JavaBeans</a> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
158 |
* component requirements. As an example, all implementations provided in the |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
159 |
* reference implementations (contained in the <code>com.sun.rowset</code> package) use |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
160 |
* the <code>BaseRowSet</code> class as a basis for their implementations. |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
161 |
* <P> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
162 |
* The following table illustrates the features that the <code>BaseRowSet</code> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
163 |
* abstract class provides. |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
164 |
* <blockquote> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
165 |
* <table class="striped" style="vertical-align:top; width:75%"> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
166 |
* <caption>Features in <code>BaseRowSet</code></caption> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
167 |
* <thead> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
168 |
* <tr> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
169 |
* <th scope="col">Feature</th> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
170 |
* <th scope="col">Details</th> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
171 |
* </tr> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
172 |
* </thead> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
173 |
* <tbody> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
174 |
* <tr> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
175 |
* <th scope="row">Properties</th> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
176 |
* <td>Provides standard JavaBeans property manipulation |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
177 |
* mechanisms to allow applications to get and set <code>RowSet</code> command and |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
178 |
* property values. Refer to the documentation of the <code>javax.sql.RowSet</code> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
179 |
* interface (available in the JDBC 3.0 specification) for more details on |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
180 |
* the standard <code>RowSet</code> properties.</td> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
181 |
* </tr> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
182 |
* <tr> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
183 |
* <th scope="row">Event notification</th> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
184 |
* <td>Provides standard JavaBeans event notifications |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
185 |
* to registered event listeners. Refer to the documentation of <code>javax.sql.RowSetEvent</code> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
186 |
* interface (available in the JDBC 3.0 specification) for |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
187 |
* more details on how to register and handle standard RowSet events generated |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
188 |
* by compliant implementations.</td> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
189 |
* </tr> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
190 |
* <tr> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
191 |
* <th scope="row">Setters for a RowSet object's command</th> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
192 |
* <td>Provides a complete set of setter methods |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
193 |
* for setting RowSet command parameters.</td> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
194 |
* </tr> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
195 |
* <tr> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
196 |
* <th scope="row">Streams</th> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
197 |
* <td>Provides fields for storing of stream instances |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
198 |
* in addition to providing a set of constants for stream type designation.</td> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
199 |
* </tr> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
200 |
* </tbody> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
201 |
* </table> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
202 |
* </blockquote> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
203 |
* |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
204 |
* <li><b>3.3 Connected RowSet Requirements</b> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
205 |
* <p> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
206 |
* The <code>JdbcRowSet</code> describes a <code>RowSet</code> object that <b>must</b> always |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
207 |
* be connected to the originating data source. Implementations of the <code>JdbcRowSet</code> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
208 |
* should ensure that this connection is provided solely by a JDBC driver. |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
209 |
* Furthermore, <code>RowSet</code> objects that are implementations of the |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
210 |
* <code>JdbcRowSet</code> interface and are therefore operating in a connected environment |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
211 |
* do not use the <code>SyncFactory</code> to obtain a <code>RowSetReader</code> object |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
212 |
* or a <code>RowSetWriter</code> object. They can safely rely on the JDBC driver to |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
213 |
* supply their needs by virtue of the presence of an underlying updatable and scrollable |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
214 |
* <code>ResultSet</code> implementation. |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
215 |
* |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
216 |
* <li> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
217 |
* <b>3.4 Disconnected RowSet Requirements</b> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
218 |
* <p> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
219 |
* A disconnected <code>RowSet</code> object, such as a <code>CachedRowSet</code> object, |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
220 |
* <b>should</b> delegate |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
221 |
* connection management to a <code>SyncProvider</code> object provided by the |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
222 |
* <code>SyncFactory</code>. To ensure fully disconnected semantics, all |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
223 |
* disconnected <code>RowSet</code> objects <b>must</b> ensure |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
224 |
* that the original connection made to the data source to populate the <code>RowSet</code> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
225 |
* object is closed to permit the garbage collector to recover and release resources. The |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
226 |
* <code>SyncProvider</code> object ensures that the critical JDBC properties are |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
227 |
* maintained in order to re-establish a connection to the data source when a |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
228 |
* synchronization is required. A disconnected <code>RowSet</code> object should |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
229 |
* therefore ensure that no |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
230 |
* extraneous references remain on the <code>Connection</code> object. |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
231 |
* |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
232 |
* <li><b>3.5 Role of RowSetMetaDataImpl</b> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
233 |
* <p> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
234 |
* The <code>RowsetMetaDataImpl</code> class is a utility class that provides an implementation of the |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
235 |
* <a href="{@docRoot}/java.sql/javax/sql/RowSetMetaData.html">RowSetMetaData</a> interface, supplying standard setter |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
236 |
* method implementations for metadata for both connected and disconnected |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
237 |
* <code>RowSet</code> objects. All implementations are free to use this standard |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
238 |
* implementation but are not required to do so. |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
239 |
* |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
240 |
* <li><b>3.6 RowSetWarning Class</b> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
241 |
* <p> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
242 |
* The <code>RowSetWarning</code> class provides warnings that can be set |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
243 |
* on <code>RowSet</code> implementations. |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
244 |
* Similar to <a href="{@docRoot}/java.sql/java/sql/SQLWarning.html">SQLWarning</a> objects, |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
245 |
* <code>RowSetWarning</code> objects are silently chained to the object whose method |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
246 |
* caused the warning to be thrown. All <code>RowSet</code> implementations <b>should</b> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
247 |
* ensure that this chaining occurs if a warning is generated and also ensure that the |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
248 |
* warnings are available via the <code>getRowSetWarnings</code> method defined in either |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
249 |
* the <code>JdbcRowSet</code> interface or the <code>CachedRowSet</code> interface. |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
250 |
* After a warning has been retrieved with one of the |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
251 |
* <code>getRowSetWarnings</code> methods, the <code>RowSetWarning</code> method |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
252 |
* <code>getNextWarning</code> can be called on it to retrieve any warnings that might |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
253 |
* be chained on it. If a warning is returned, <code>getNextWarning</code> can be called |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
254 |
* on it, and so on until there are no more warnings. |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
255 |
* |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
256 |
* <li><b>3.7 The Joinable Interface</b> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
257 |
* <P> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
258 |
* The <code>Joinable</code> interface provides both connected and disconnected |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
259 |
* <code>RowSet</code> objects with the capability to be added to a |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
260 |
* <code>JoinRowSet</code> object in an SQL <code>JOIN</code> operation. |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
261 |
* A <code>RowSet</code> object that has implemented the <code>Joinable</code> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
262 |
* interface can set a match column, retrieve a match column, or unset a match column. |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
263 |
* A <code>JoinRowSet</code> object can then use the <code>RowSet</code> object's |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
264 |
* match column as a basis for adding the <code>RowSet</code> object. |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
265 |
* </li> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
266 |
* |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
267 |
* <li><b>3.8 The RowSetFactory Interface</b> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
268 |
* <p> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
269 |
* A <code>RowSetFactory</code> implementation <strong>must</strong> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
270 |
* be provided. |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
271 |
* </li> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
272 |
* </ul> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
273 |
* |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
274 |
* <h3><a id="relspec">4.0 Related Specifications</a></h3> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
275 |
* <ul> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
276 |
* <li><a href="https://jcp.org/en/jsr/detail?id=221">JDBC 4.3 Specification</a> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
277 |
* <li><a href="http://www.w3.org/XML/Schema">XML Schema</a> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
278 |
* </ul> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
279 |
* |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
280 |
* <h3><a id="reldocs">5.0 Related Documentation</a></h3> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
281 |
* <ul> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
282 |
* <li><a href="http://docs.oracle.com/javase/tutorial/jdbc/basics/rowset.html"> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
283 |
* JDBC RowSet Tutorial</a> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
284 |
*</ul> |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
285 |
*/ |
db65921e9a9b
8201608: fix broken links in javax/sql/rowset/package.html and javax/sql/rowset/spi/package.html
lancea
parents:
47216
diff
changeset
|
286 |
package javax.sql.rowset; |