author | herrick |
Wed, 20 Nov 2019 10:17:37 -0500 | |
branch | JDK-8200758-branch |
changeset 59160 | e90068e7afa1 |
parent 55303 | fcc702f17582 |
permissions | -rw-r--r-- |
52991
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
1 |
/* |
55303 | 2 |
* Copyright (c) 1998, 2019, Oracle and/or its affiliates. All rights reserved. |
52991
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
3 |
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
4 |
* |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
5 |
* This code is free software; you can redistribute it and/or modify it |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
6 |
* under the terms of the GNU General Public License version 2 only, as |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
7 |
* published by the Free Software Foundation. Oracle designates this |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
8 |
* particular file as subject to the "Classpath" exception as provided |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
9 |
* by Oracle in the LICENSE file that accompanied this code. |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
10 |
* |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
11 |
* This code is distributed in the hope that it will be useful, but WITHOUT |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
12 |
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
13 |
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
14 |
* version 2 for more details (a copy is included in the LICENSE file that |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
15 |
* accompanied this code). |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
16 |
* |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
17 |
* You should have received a copy of the GNU General Public License version |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
18 |
* 2 along with this work; if not, write to the Free Software Foundation, |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
19 |
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
20 |
* |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
21 |
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
22 |
* or visit www.oracle.com if you need additional information or have any |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
23 |
* questions. |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
24 |
*/ |
2 | 25 |
|
52991
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
26 |
/** |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
27 |
* |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
28 |
* Provides the API for accessing and processing data stored in a |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
29 |
* data source (usually a relational database) using the |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
30 |
* Java™ programming language. |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
31 |
* This API includes a framework whereby different |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
32 |
* drivers can be installed dynamically to access different data sources. |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
33 |
* Although the JDBC™ API is mainly geared |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
34 |
* to passing SQL statements to a database, it provides for reading and |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
35 |
* writing data from any data source with a tabular format. |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
36 |
* The reader/writer facility, available through the |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
37 |
* <code>javax.sql.RowSet</code> group of interfaces, can be customized to |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
38 |
* use and update data from a spread sheet, flat file, or any other tabular |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
39 |
* data source. |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
40 |
* |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
41 |
* <h2>What the JDBC™ 4.3 API Includes</h2> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
42 |
* The JDBC™ 4.3 API includes both |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
43 |
* the <code>java.sql</code> package, referred to as the JDBC core API, |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
44 |
* and the <code>javax.sql</code> package, referred to as the JDBC Optional |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
45 |
* Package API. This complete JDBC API |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
46 |
* is included in the Java™ Standard Edition (Java SE™), version 7. |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
47 |
* The <code>javax.sql</code> package extends the functionality of the JDBC API |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
48 |
* from a client-side API to a server-side API, and it is an essential part |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
49 |
* of the Java™ Enterprise Edition |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
50 |
* (Java EE™) technology. |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
51 |
* |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
52 |
* <h2>Versions</h2> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
53 |
* The JDBC 4.3 API incorporates all of the previous JDBC API versions: |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
54 |
* <UL> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
55 |
* <LI> The JDBC 4.2 API</li> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
56 |
* <LI> The JDBC 4.1 API</li> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
57 |
* <LI> The JDBC 4.0 API</li> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
58 |
* <LI> The JDBC 3.0 API</li> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
59 |
* <LI> The JDBC 2.1 core API</li> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
60 |
* <LI> The JDBC 2.0 Optional Package API<br> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
61 |
* (Note that the JDBC 2.1 core API and the JDBC 2.0 Optional Package |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
62 |
* API together are referred to as the JDBC 2.0 API.)</li> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
63 |
* <LI> The JDBC 1.2 API</li> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
64 |
* <LI> The JDBC 1.0 API</li> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
65 |
* </UL> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
66 |
* <P> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
67 |
* Classes, interfaces, methods, fields, constructors, and exceptions |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
68 |
* have the following "since" tags that indicate when they were introduced |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
69 |
* into the Java platform. When these "since" tags are used in |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
70 |
* Javadoc™ comments for the JDBC API, |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
71 |
* they indicate the following: |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
72 |
* <UL> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
73 |
* <LI>Since 9 -- new in the JDBC 4.3 API and part of the Java SE platform, |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
74 |
* version 9</li> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
75 |
* <LI>Since 1.8 -- new in the JDBC 4.2 API and part of the Java SE platform, |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
76 |
* version 8</li> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
77 |
* <LI>Since 1.7 -- new in the JDBC 4.1 API and part of the Java SE platform, |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
78 |
* version 7</li> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
79 |
* <LI>Since 1.6 -- new in the JDBC 4.0 API and part of the Java SE platform, |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
80 |
* version 6</li> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
81 |
* <LI>Since 1.4 -- new in the JDBC 3.0 API and part of the J2SE platform, |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
82 |
* version 1.4</li> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
83 |
* <LI>Since 1.2 -- new in the JDBC 2.0 API and part of the J2SE platform, |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
84 |
* version 1.2</li> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
85 |
* <LI>Since 1.1 or no "since" tag -- in the original JDBC 1.0 API and part of |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
86 |
* the JDK™, version 1.1</li> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
87 |
* </UL> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
88 |
* <P> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
89 |
* <b>NOTE:</b> Many of the new features are optional; consequently, there is |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
90 |
* some variation in drivers and the features they support. Always |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
91 |
* check your driver's documentation to see whether it supports a feature before |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
92 |
* you try to use it. |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
93 |
* <P> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
94 |
* <b>NOTE:</b> The class <code>SQLPermission</code> was added in the |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
95 |
* Java™ 2 SDK, Standard Edition, |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
96 |
* version 1.3 release. This class is used to prevent unauthorized |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
97 |
* access to the logging stream associated with the <code>DriverManager</code>, |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
98 |
* which may contain information such as table names, column data, and so on. |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
99 |
* |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
100 |
* <h2>What the <code>java.sql</code> Package Contains</h2> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
101 |
* The <code>java.sql</code> package contains API for the following: |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
102 |
* <UL> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
103 |
* <LI>Making a connection with a database via the <code>DriverManager</code> facility |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
104 |
* <UL> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
105 |
* <LI><code>DriverManager</code> class -- makes a connection with a driver |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
106 |
* <LI><code>SQLPermission</code> class -- provides permission when code |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
107 |
* running within a Security Manager, such as an applet, |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
108 |
* attempts to set up a logging stream through the |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
109 |
* <code>DriverManager</code> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
110 |
* <LI><code>Driver</code> interface -- provides the API for registering |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
111 |
* and connecting drivers based on JDBC technology ("JDBC drivers"); |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
112 |
* generally used only by the <code>DriverManager</code> class |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
113 |
* <LI><code>DriverPropertyInfo</code> class -- provides properties for a |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
114 |
* JDBC driver; not used by the general user |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
115 |
* </UL> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
116 |
* <LI>Sending SQL statements to a database |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
117 |
* <UL> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
118 |
* <LI><code>Statement</code> -- used to send basic SQL statements |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
119 |
* <LI><code>PreparedStatement</code> -- used to send prepared statements or |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
120 |
* basic SQL statements (derived from <code>Statement</code>) |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
121 |
* <LI><code>CallableStatement</code> -- used to call database stored |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
122 |
* procedures (derived from <code>PreparedStatement</code>) |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
123 |
* <LI><code>Connection</code> interface -- provides methods for creating |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
124 |
* statements and managing connections and their properties |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
125 |
* <LI><code>Savepoint</code> -- provides savepoints in a transaction |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
126 |
* |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
127 |
* </UL> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
128 |
* <LI>Retrieving and updating the results of a query |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
129 |
* <UL> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
130 |
* <LI><code>ResultSet</code> interface |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
131 |
* </UL> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
132 |
* <LI>Standard mappings for SQL types to classes and interfaces in the |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
133 |
* Java programming language |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
134 |
* <UL> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
135 |
* <LI><code>Array</code> interface -- mapping for SQL <code>ARRAY</code> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
136 |
* <LI><code>Blob</code> interface -- mapping for SQL <code>BLOB</code> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
137 |
* <LI><code>Clob</code> interface -- mapping for SQL <code>CLOB</code> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
138 |
* <LI><code>Date</code> class -- mapping for SQL <code>DATE</code> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
139 |
* <LI><code>NClob</code> interface -- mapping for SQL <code>NCLOB</code> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
140 |
* <LI><code>Ref</code> interface -- mapping for SQL <code>REF</code> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
141 |
* <LI><code>RowId</code> interface -- mapping for SQL <code>ROWID</code> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
142 |
* <LI><code>Struct</code> interface -- mapping for SQL <code>STRUCT</code> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
143 |
* <LI><code>SQLXML</code> interface -- mapping for SQL <code>XML</code> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
144 |
* <LI><code>Time</code> class -- mapping for SQL <code>TIME</code> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
145 |
* <LI><code>Timestamp</code> class -- mapping for SQL <code>TIMESTAMP</code> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
146 |
* <LI><code>Types</code> class -- provides constants for SQL types |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
147 |
* </UL> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
148 |
* <LI>Custom mapping an SQL user-defined type (UDT) to a class in the |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
149 |
* Java programming language |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
150 |
* <UL> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
151 |
* <LI><code>SQLData</code> interface -- specifies the mapping of |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
152 |
* a UDT to an instance of this class |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
153 |
* <LI><code>SQLInput</code> interface -- provides methods for reading |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
154 |
* UDT attributes from a stream |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
155 |
* <LI><code>SQLOutput</code> interface -- provides methods for writing |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
156 |
* UDT attributes back to a stream |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
157 |
* </UL> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
158 |
* <LI>Metadata |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
159 |
* <UL> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
160 |
* <LI><code>DatabaseMetaData</code> interface -- provides information |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
161 |
* about the database |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
162 |
* <LI><code>ResultSetMetaData</code> interface -- provides information |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
163 |
* about the columns of a <code>ResultSet</code> object |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
164 |
* <LI><code>ParameterMetaData</code> interface -- provides information |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
165 |
* about the parameters to <code>PreparedStatement</code> commands |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
166 |
* </UL> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
167 |
* <LI>Exceptions |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
168 |
* <UL> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
169 |
* <LI><code>SQLException</code> -- thrown by most methods when there |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
170 |
* is a problem accessing data and by some methods for other reasons |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
171 |
* <LI><code>SQLWarning</code> -- thrown to indicate a warning |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
172 |
* <LI><code>DataTruncation</code> -- thrown to indicate that data may have |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
173 |
* been truncated |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
174 |
* <LI><code>BatchUpdateException</code> -- thrown to indicate that not all |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
175 |
* commands in a batch update executed successfully |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
176 |
* </UL> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
177 |
* </UL> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
178 |
* |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
179 |
* <h3><code>java.sql</code> and <code>javax.sql</code> Features Introduced in the JDBC 4.3 API</h3> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
180 |
* <UL> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
181 |
* <LI>Added <code>Sharding</code> support</LI> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
182 |
* <LI>Enhanced <code>Connection</code> to be able to provide hints |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
183 |
* to the driver that a request, an independent unit of work, |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
184 |
* is beginning or ending</LI> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
185 |
* <LI>Enhanced <code>DatabaseMetaData</code> to determine if Sharding is |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
186 |
* supported</LI> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
187 |
* <LI>Added the method <code>drivers</code> to <code>DriverManager</code> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
188 |
* to return a Stream of the currently loaded and |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
189 |
* available JDBC drivers</LI> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
190 |
* <LI>Added support to <code>Statement</code> for enquoting literals |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
191 |
* and simple identifiers</LI> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
192 |
* <LI>Clarified the Java SE version that methods were deprecated</LI> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
193 |
* </UL> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
194 |
* |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
195 |
* <h3><code>java.sql</code> and <code>javax.sql</code> Features Introduced in the JDBC 4.2 API</h3> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
196 |
* <UL> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
197 |
* <LI>Added <code>JDBCType</code> enum and <code>SQLType</code> interface</li> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
198 |
* <LI>Support for <code>REF CURSORS</code> in <code>CallableStatement</code> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
199 |
* </LI> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
200 |
* <LI><code>DatabaseMetaData</code> methods to return maximum Logical LOB size |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
201 |
* and if Ref Cursors are supported</LI> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
202 |
* <LI>Added support for large update counts</LI> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
203 |
* |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
204 |
* </UL> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
205 |
* |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
206 |
* <h3><code>java.sql</code> and <code>javax.sql</code> Features Introduced in the JDBC 4.1 API</h3> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
207 |
* <UL> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
208 |
* <LI>Allow <code>Connection</code>, |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
209 |
* <code>ResultSet</code> and <code>Statement</code> objects to be |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
210 |
* used with the try-with-resources statement</LI> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
211 |
* <LI>Support added to <code>CallableStatement</code> and |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
212 |
* <code>ResultSet</code> to specify the Java type to convert to via the |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
213 |
* <code>getObject</code> method</LI> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
214 |
* <LI><code>DatabaseMetaData</code> methods to return PseudoColumns and if a |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
215 |
* generated key is always returned</LI> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
216 |
* <LI>Added support to <code>Connection</code> to specify a database schema, |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
217 |
* abort and timeout a physical connection.</LI> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
218 |
* <LI>Added support to close a <code>Statement</code> object when its dependent |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
219 |
* objects have been closed</LI> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
220 |
* <LI>Support for obtaining the parent logger for a <code>Driver</code>, |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
221 |
* <code>DataSource</code>, <code>ConnectionPoolDataSource</code> and |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
222 |
* <code>XADataSource</code></LI> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
223 |
* |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
224 |
* </UL> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
225 |
* <h3><code>java.sql</code> and <code>javax.sql</code> Features Introduced in the JDBC 4.0 API</h3> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
226 |
* <UL> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
227 |
* <LI>auto java.sql.Driver discovery -- no longer need to load a |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
228 |
* <code>java.sql.Driver</code> class via <code>Class.forName</code> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
229 |
* <LI>National Character Set support added |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
230 |
* <li>Support added for the SQL:2003 XML data type |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
231 |
* <lI>SQLException enhancements -- Added support for cause chaining; New SQLExceptions |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
232 |
* added for common SQLState class value codes |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
233 |
* <li>Enhanced Blob/Clob functionality -- Support provided to create and free a Blob/Clob instance |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
234 |
* as well as additional methods added to improve accessibility |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
235 |
* <li>Support added for accessing a SQL ROWID |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
236 |
* <li>Support added to allow a JDBC application to access an instance of a JDBC resource |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
237 |
* that has been wrapped by a vendor, usually in an application server or connection |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
238 |
* pooling environment. |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
239 |
* <li>Availability to be notified when a <code>PreparedStatement</code> that is associated |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
240 |
* with a <code>PooledConnection</code> has been closed or the driver determines is invalid |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
241 |
* |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
242 |
* |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
243 |
* </UL> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
244 |
* |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
245 |
* |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
246 |
* <h3><code>java.sql</code> and <code>javax.sql</code> Features Introduced in the JDBC 3.0 API</h3> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
247 |
* <UL> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
248 |
* <LI>Pooled statements -- reuse of statements associated with a pooled |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
249 |
* connection |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
250 |
* <LI>Savepoints -- allow a transaction to be rolled back to a designated |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
251 |
* savepoint |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
252 |
* <LI>Properties defined for <code>ConnectionPoolDataSource</code> -- specify |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
253 |
* how connections are to be pooled |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
254 |
* <LI>Metadata for parameters of a <code>PreparedStatement</code> object |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
255 |
* <LI>Ability to retrieve values from automatically generated columns |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
256 |
* <LI>Ability to have multiple <code>ResultSet</code> objects |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
257 |
* returned from <code>CallableStatement</code> objects open at the |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
258 |
* same time |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
259 |
* <LI>Ability to identify parameters to <code>CallableStatement</code> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
260 |
* objects by name as well as by index |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
261 |
* <LI><code>ResultSet</code> holdability -- ability to specify whether cursors |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
262 |
* should be held open or closed at the end of a transaction |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
263 |
* <LI>Ability to retrieve and update the SQL structured type instance that a |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
264 |
* <code>Ref</code> object references |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
265 |
* <LI>Ability to programmatically update <code>BLOB</code>, |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
266 |
* <code>CLOB</code>, <code>ARRAY</code>, and <code>REF</code> values. |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
267 |
* <LI>Addition of the <code>java.sql.Types.DATALINK</code> data type -- |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
268 |
* allows JDBC drivers access to objects stored outside a data source |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
269 |
* <LI>Addition of metadata for retrieving SQL type hierarchies |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
270 |
* </UL> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
271 |
* |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
272 |
* <h3><code>java.sql</code> Features Introduced in the JDBC 2.1 Core API</h3> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
273 |
* <UL> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
274 |
* <LI>Scrollable result sets--using new methods in the <code>ResultSet</code> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
275 |
* interface that allow the cursor to be moved to a particular row or to a |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
276 |
* position relative to its current position |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
277 |
* <LI>Batch updates |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
278 |
* <LI>Programmatic updates--using <code>ResultSet</code> updater methods |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
279 |
* <LI>New data types--interfaces mapping the SQL3 data types |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
280 |
* <LI>Custom mapping of user-defined types (UDTs) |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
281 |
* <LI>Miscellaneous features, including performance hints, the use of character |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
282 |
* streams, full precision for <code>java.math.BigDecimal</code> values, |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
283 |
* additional security, and |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
284 |
* support for time zones in date, time, and timestamp values. |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
285 |
* </UL> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
286 |
* |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
287 |
* <h3><code>javax.sql</code> Features Introduced in the JDBC 2.0 Optional |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
288 |
* Package API</h3> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
289 |
* <UL> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
290 |
* <LI>The <code>DataSource</code> interface as a means of making a connection. The |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
291 |
* Java Naming and Directory Interface™ |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
292 |
* (JNDI) is used for registering a <code>DataSource</code> object with a |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
293 |
* naming service and also for retrieving it. |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
294 |
* <LI>Pooled connections -- allowing connections to be used and reused |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
295 |
* <LI>Distributed transactions -- allowing a transaction to span diverse |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
296 |
* DBMS servers |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
297 |
* <LI><code>RowSet</code> technology -- providing a convenient means of |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
298 |
* handling and passing data |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
299 |
* </UL> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
300 |
* |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
301 |
* |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
302 |
* <h3>Custom Mapping of UDTs</h3> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
303 |
* A user-defined type (UDT) defined in SQL can be mapped to a class in the Java |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
304 |
* programming language. An SQL structured type or an SQL <code>DISTINCT</code> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
305 |
* type are the UDTs that may be custom mapped. The following three |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
306 |
* steps set up a custom mapping: |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
307 |
* <ol> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
308 |
* <li>Defining the SQL structured type or <code>DISTINCT</code> type in SQL |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
309 |
* <li>Defining the class in the Java programming language to which the |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
310 |
* SQL UDT will be mapped. This class must implement the |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
311 |
* <code>SQLData</code> interface. |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
312 |
* <li>Making an entry in a <code>Connection</code> object's type map |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
313 |
* that contains two things: |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
314 |
* <ul> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
315 |
* <li>the fully-qualified SQL name of the UDT |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
316 |
* <li>the <code>Class</code> object for the class that implements the |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
317 |
* <code>SQLData</code> interface |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
318 |
* </ul> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
319 |
* </ol> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
320 |
* <p> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
321 |
* When these are in place for a UDT, calling the methods |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
322 |
* <code>ResultSet.getObject</code> or <code>CallableStatement.getObject</code> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
323 |
* on that UDT will automatically retrieve the custom mapping for it. Also, the |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
324 |
* <code>PreparedStatement.setObject</code> method will automatically map the |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
325 |
* object back to its SQL type to store it in the data source. |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
326 |
* |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
327 |
* <h2>Package Specification</h2> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
328 |
* |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
329 |
* <ul> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
330 |
* <li><a href="https://jcp.org/en/jsr/detail?id=221">JDBC 4.3 Specification</a> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
331 |
* </ul> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
332 |
* |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
333 |
* <h2>Related Documentation</h2> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
334 |
* |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
335 |
* <ul> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
336 |
* <li><a href="http://docs.oracle.com/javase/tutorial/jdbc/basics/index.html"> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
337 |
* Lesson:JDBC Basics(The Javaxx Tutorials > JDBC™ Database Access)</a> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
338 |
* |
55303 | 339 |
* <li>“<i>JDBC™ API Tutorial and Reference, Third Edition</i>” |
52991
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
340 |
* </ul> |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
341 |
*/ |
9e28eff3d40f
8215309: Convert package.html files to package-info.java files
rriggs
parents:
47216
diff
changeset
|
342 |
package java.sql; |