Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_jdk
提交
cbc688a8
D
dragonwell8_jdk
项目概览
openanolis
/
dragonwell8_jdk
通知
4
Star
2
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
dragonwell8_jdk
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
cbc688a8
编写于
2月 04, 2011
作者:
L
lancea
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
7014095: Broken link in java.sql package specification
Reviewed-by: alanb
上级
e5426590
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
30 addition
and
8 deletion
+30
-8
src/share/classes/java/sql/package.html
src/share/classes/java/sql/package.html
+30
-8
未找到文件。
src/share/classes/java/sql/package.html
浏览文件 @
cbc688a8
...
...
@@ -2,7 +2,7 @@
<html>
<head>
<!--
Copyright (c) 1998, 2006
, Oracle and/or its affiliates. All rights reserved.
Copyright (c) 1998, 2011
, Oracle and/or its affiliates. All rights reserved.
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
This code is free software; you can redistribute it and/or modify it
...
...
@@ -45,21 +45,22 @@ The reader/writer facility, available through the
use and update data from a spread sheet, flat file, or any other tabular
data source.
<P>
<h2>
What the JDBC
<sup><font
size=
-2
>
TM
</font></sup>
4.
0
API Includes
</h2>
The JDBC
<sup><font
size=
-2
>
TM
</font></sup>
4.
0
API includes both
<h2>
What the JDBC
<sup><font
size=
-2
>
TM
</font></sup>
4.
1
API Includes
</h2>
The JDBC
<sup><font
size=
-2
>
TM
</font></sup>
4.
1
API includes both
the
<code>
java.sql
</code>
package, referred to as the JDBC core API,
and the
<code>
javax.sql
</code>
package, referred to as the JDBC Optional
Package API. This complete JDBC API
is included in the Java
<sup><font
size=
-2
>
TM
</font></sup>
Standard Edition (Java SE
<sup><font
size=
-2
>
TM
</font></sup>
), version
6.
Standard Edition (Java SE
<sup><font
size=
-2
>
TM
</font></sup>
), version
7.
The
<code>
javax.sql
</code>
package extends the functionality of the JDBC API
from a client-side API to a server-side API, and it is an essential part
of the Java
<sup><font
size=
-2
>
TM
</font></sup>
Enterprise Edition
(Java EE
<sup><font
size=
-2
>
TM
</font></sup>
) technology.
<P>
<h2>
Versions
</h2>
The JDBC 4.
0
API incorporates all of the previous JDBC API versions:
The JDBC 4.
1
API incorporates all of the previous JDBC API versions:
<UL>
<LI>
The JDBC 4.0 API
<LI>
The JDBC 3.0 API
<LI>
The JDBC 2.1 core API
<LI>
The JDBC 2.0 Optional Package API
<br>
...
...
@@ -75,7 +76,9 @@ into the Java platform. When these "since" tags are used in
Javadoc
<sup><font
size=
-2
>
TM
</font></sup>
comments for the JDBC API,
they indicate the following:
<UL>
<LI>
Since 1.6 -- new in the JDBC 4.0 API and part of the Java SE platform,
<LI>
Since 1.7 -- new in the JDBC 4.1 API and part of the Java SE platform,
version 7
<LI>
Since 1.6 -- new in the JDBC 4.0 API and part of the Java SE platform,
version 6
<LI>
Since 1.4 -- new in the JDBC 3.0 API and part of the J2SE platform,
version 1.4
...
...
@@ -176,6 +179,25 @@ The <code>java.sql</code> package contains API for the following:
</UL>
</UL>
<P>
<h3><code>
java.sql
</code>
and
<code>
javax.sql
</code>
Features Introduced in the JDBC 4.1 API
</h3>
<UL>
<LI>
Allow
<code>
Connection
</code>
,
<code>
ResultSet
</code>
and
<code>
Statement
</code>
objects to be
used with the try-with-resources statement
</LI>
<LI>
Supported added to
<code>
CallableStatement
</code>
and
<code>
ResultSet
</code>
to specify the Java type to convert to via the
<code>
getObject
</code>
method
</LI>
<LI><code>
DatabaseMetaData
</code>
methods to return PseudoColumns and if a
generated key is always returned
</LI>
<LI>
Added support to
<code>
Connection
</code>
to specify a database schema,
abort and timeout a physical connection.
</LI>
<LI>
Added support to close a
<code>
Statement
</code>
object when its dependent
objects have been closed
</LI>
<LI>
Support for obtaining the parent logger for a
<code>
Driver
</code>
,
<code>
DataSource
</code>
,
<code>
ConnectionPoolDataSource
</code>
and
<code>
XADataSource
</code></LI>
</UL>
<h3><code>
java.sql
</code>
and
<code>
javax.sql
</code>
Features Introduced in the JDBC 4.0 API
</h3>
<UL>
<LI>
auto java.sql.Driver discovery -- no longer need to load a
...
...
@@ -190,7 +212,7 @@ The <code>java.sql</code> package contains API for the following:
<li>
Support added to allow a JDBC application to access an instance of a JDBC resource
that has been wrapped by a vendor, usually in an application server or connection
pooling environment.
<li>
Availability to be notfied when a
<code>
PreparedStatement
</code>
that is associated
<li>
Availability to be not
i
fied when a
<code>
PreparedStatement
</code>
that is associated
with a
<code>
PooledConnection
</code>
has been closed or the driver determines is invalid
...
...
@@ -288,7 +310,7 @@ object back to its SQL type to store it in the data source.
<h2>
Related Documentation
</h2>
<ul>
<li><a
href=
"../../../
guide
/jdbc/getstart/GettingStartedTOC.fm.html"
>
Getting Started
</a>
--overviews of the major interfaces
<li><a
href=
"../../../
technotes/guides
/jdbc/getstart/GettingStartedTOC.fm.html"
>
Getting Started
</a>
--overviews of the major interfaces
<P>
<li><a
href=
"http://java.sun.com/docs/books/tutorial/jdbc"
>
Chapters on the JDBC
API
</a>
--from the online version of
<i>
The Java Tutorial Continued
</i>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录