Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell11
提交
356419e7
D
dragonwell11
项目概览
openanolis
/
dragonwell11
通知
7
Star
2
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
dragonwell11
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
356419e7
编写于
7月 13, 2017
作者:
J
jjg
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
8184311: Update java.sql and java.sql.rowset API docs for accessibility
Reviewed-by: lancea
上级
aeeedbfc
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
49 addition
and
51 deletion
+49
-51
jdk/src/java.sql.rowset/share/classes/javax/sql/rowset/package.html
...va.sql.rowset/share/classes/javax/sql/rowset/package.html
+6
-6
jdk/src/java.sql/share/classes/java/sql/Connection.java
jdk/src/java.sql/share/classes/java/sql/Connection.java
+2
-2
jdk/src/java.sql/share/classes/java/sql/DriverManager.java
jdk/src/java.sql/share/classes/java/sql/DriverManager.java
+1
-2
jdk/src/java.sql/share/classes/java/sql/SQLPermission.java
jdk/src/java.sql/share/classes/java/sql/SQLPermission.java
+8
-8
jdk/src/java.sql/share/classes/java/sql/Statement.java
jdk/src/java.sql/share/classes/java/sql/Statement.java
+32
-32
jdk/src/java.sql/share/classes/javax/sql/package.html
jdk/src/java.sql/share/classes/javax/sql/package.html
+0
-1
未找到文件。
jdk/src/java.sql.rowset/share/classes/javax/sql/rowset/package.html
浏览文件 @
356419e7
...
...
@@ -177,13 +177,13 @@ abstract class provides.
<caption>
Features in
<code>
BaseRowSet
</code></caption>
<thead>
<tr>
<th>
Feature
</th>
<th>
Details
</th>
<th
scope=
"col"
>
Feature
</th>
<th
scope=
"col"
>
Details
</th>
</tr>
</thead>
<tbody>
<tr>
<t
d>
Properties
</td
>
<t
h
scope=
"row"
>
Properties
</th
>
<td>
Provides standard JavaBeans property manipulation
mechanisms to allow applications to get and set
<code>
RowSet
</code>
command and
property values. Refer to the documentation of the
<code>
javax.sql.RowSet
</code>
...
...
@@ -191,7 +191,7 @@ interface (available in the JDBC 3.0 specification) for more details on
the standard
<code>
RowSet
</code>
properties.
</td>
</tr>
<tr>
<t
d>
Event notification
</td
>
<t
h
scope=
"row"
>
Event notification
</th
>
<td>
Provides standard JavaBeans event notifications
to registered event listeners. Refer to the documentation of
<code>
javax.sql.RowSetEvent
</code>
interface (available in the JDBC 3.0 specification) for
...
...
@@ -199,12 +199,12 @@ more details on how to register and handle standard RowSet events generated
by compliant implementations.
</td>
</tr>
<tr>
<t
d>
Setters for a RowSet object's command
</td
>
<t
h
scope=
"row"
>
Setters for a RowSet object's command
</th
>
<td>
Provides a complete set of setter methods
for setting RowSet command parameters.
</td>
</tr>
<tr>
<t
d>
Streams
</td
>
<t
h
scope=
"row"
>
Streams
</th
>
<td>
Provides fields for storing of stream instances
in addition to providing a set of constants for stream type designation.
</td>
</tr>
...
...
jdk/src/java.sql/share/classes/java/sql/Connection.java
浏览文件 @
356419e7
/*
* Copyright (c) 1996, 201
5
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1996, 201
7
, 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
...
...
@@ -1523,7 +1523,7 @@ throws SQLException;
*
* @implSpec
* The default implementation is a no-op.
*
<p>
*
* @apiNote
* This method is to be used by Connection pooling managers.
* <p>
...
...
jdk/src/java.sql/share/classes/java/sql/DriverManager.java
浏览文件 @
356419e7
/*
* Copyright (c) 1996, 201
6
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1996, 201
7
, 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
...
...
@@ -63,7 +63,6 @@ import jdk.internal.reflect.Reflection;
* via the {@linkplain ServiceLoader#load service-provider loading} mechanism.
*</ul>
*
*<P>
* @implNote
* {@code DriverManager} initialization is done lazily and looks up service
* providers using the thread context class loader. The drivers loaded and
...
...
jdk/src/java.sql/share/classes/java/sql/SQLPermission.java
浏览文件 @
356419e7
...
...
@@ -62,29 +62,29 @@ import java.security.*;
* <caption style="display:none">permission target name, what the permission allows, and associated risks</caption>
* <thead>
* <tr>
* <th>Permission Target Name</th>
* <th>What the Permission Allows</th>
* <th>Risks of Allowing this Permission</th>
* <th
scope="col"
>Permission Target Name</th>
* <th
scope="col"
>What the Permission Allows</th>
* <th
scope="col"
>Risks of Allowing this Permission</th>
* </tr>
* </thead>
*
* <tbody>
* <tr>
* <t
d>setLog</td
>
* <t
h scope="row">setLog</th
>
* <td>Setting of the logging stream</td>
* <td>This is a dangerous permission to grant.
* The contents of the log may contain usernames and passwords,
* SQL statements, and SQL data.</td>
* </tr>
* <tr>
* <t
d>callAbort</td
>
* <t
h scope="row">callAbort</th
>
* <td>Allows the invocation of the {@code Connection} method
* {@code abort}</td>
* <td>Permits an application to terminate a physical connection to a
* database.</td>
* </tr>
* <tr>
* <t
d>setSyncFactory</td
>
* <t
h scope="row">setSyncFactory</th
>
* <td>Allows the invocation of the {@code SyncFactory} methods
* {@code setJNDIContext} and {@code setLogger}</td>
* <td>Permits an application to specify the JNDI context from which the
...
...
@@ -93,7 +93,7 @@ import java.security.*;
* </tr>
*
* <tr>
* <t
d>setNetworkTimeout</td
>
* <t
h scope="row">setNetworkTimeout</th
>
* <td>Allows the invocation of the {@code Connection} method
* {@code setNetworkTimeout}</td>
* <td>Permits an application to specify the maximum period a
...
...
@@ -101,7 +101,7 @@ import java.security.*;
* objects created from the <code>Connection</code>
* will wait for the database to reply to any one request.</td>
* <tr>
* <t
d>deregisterDriver</td
>
* <t
h scope="row">deregisterDriver</th
>
* <td>Allows the invocation of the {@code DriverManager}
* method {@code deregisterDriver}</td>
* <td>Permits an application to remove a JDBC driver from the list of
...
...
jdk/src/java.sql/share/classes/java/sql/Statement.java
浏览文件 @
356419e7
...
...
@@ -1379,17 +1379,17 @@ public interface Statement extends Wrapper, AutoCloseable {
* single quote within the string will be replaced by two single quotes.
*
* <blockquote>
* <table class="striped"
>
* <table class="striped">
* <caption>Examples of the conversion:</caption>
* <thead>
* <tr><th
>Value</th><th
>Result</th></tr>
* <tr><th
scope="col">Value</th><th scope="col"
>Result</th></tr>
* </thead>
* <tbody style="text-align:center">
* <tr> <t
d>Hello</td
> <td>'Hello'</td> </tr>
* <tr> <t
d>G'Day</td
> <td>'G''Day'</td> </tr>
* <tr> <t
d>'G''Day'</td
>
* <tr> <t
h scope="row">Hello</th
> <td>'Hello'</td> </tr>
* <tr> <t
h scope="row">G'Day</th
> <td>'G''Day'</td> </tr>
* <tr> <t
h scope="row">'G''Day'</th
>
* <td>'''G''''Day'''</td> </tr>
* <tr> <t
d>I'''M</td
> <td>'I''''''M'</td>
* <tr> <t
h scope="row">I'''M</th
> <td>'I''''''M'</td>
* </tr>
*
* </tbody>
...
...
@@ -1454,48 +1454,48 @@ public interface Statement extends Wrapper, AutoCloseable {
* <caption>Examples of the conversion:</caption>
* <thead>
* <tr>
* <th>identifier</th>
* <th>alwaysQuote</th>
* <th>Result</th></tr>
* <th
scope="col"
>identifier</th>
* <th
scope="col"
>alwaysQuote</th>
* <th
scope="col"
>Result</th></tr>
* </thead>
* <tbody>
* <tr>
* <t
d>Hello</td
>
* <t
h scope="row">Hello</th
>
* <td>false</td>
* <td>Hello</td>
* </tr>
* <tr>
* <t
d>Hello</td
>
* <t
h scope="row">Hello</th
>
* <td>true</td>
* <td>"Hello"</td>
* </tr>
* <tr>
* <t
d>G'Day</td
>
* <t
h scope="row">G'Day</th
>
* <td>false</td>
* <td>"G'Day"</td>
* </tr>
* <tr>
* <t
d>"Bruce Wayne"</td
>
* <t
h scope="row">"Bruce Wayne"</th
>
* <td>false</td>
* <td>"Bruce Wayne"</td>
* </tr>
* <tr>
* <t
d>"Bruce Wayne"</td
>
* <t
h scope="row">"Bruce Wayne"</th
>
* <td>true</td>
* <td>"Bruce Wayne"</td>
* </tr>
* <tr>
* <t
d>GoodDay$</td
>
* <t
h scope="row">GoodDay$</th
>
* <td>false</td>
* <td>"GoodDay$"</td>
* </tr>
* <tr>
* <t
d>Hello"World</td
>
* <t
h scope="row">Hello"World</th
>
* <td>false</td>
* <td>SQLException</td>
* </tr>
* <tr>
* <t
d>"Hello"World"</td
>
* <t
h scope="row">"Hello"World"</th
>
* <td>false</td>
* <td>SQLException</td>
* </tr>
...
...
@@ -1554,33 +1554,33 @@ public interface Statement extends Wrapper, AutoCloseable {
* <caption>Examples of the conversion:</caption>
* <thead>
* <tr>
* <th>identifier</th>
* <th>Simple Identifier</th>
* <th
scope="col"
>identifier</th>
* <th
scope="col"
>Simple Identifier</th>
* </thead>
*
* <tbody>
* <tr>
* <t
d>Hello</td
>
* <t
h scope="row">Hello</th
>
* <td>true</td>
* </tr>
* <tr>
* <t
d>G'Day</td
>
* <t
h scope="row">G'Day</th
>
* <td>false</td>
* </tr>
* <tr>
* <t
d>"Bruce Wayne"</td
>
* <t
h scope="row">"Bruce Wayne"</th
>
* <td>false</td>
* </tr>
* <tr>
* <t
d>GoodDay$</td
>
* <t
h scope="row">GoodDay$</th
>
* <td>false</td>
* </tr>
* <tr>
* <t
d>Hello"World</td
>
* <t
h scope="row">Hello"World</th
>
* <td>false</td>
* </tr>
* <tr>
* <t
d>"Hello"World"</td
>
* <t
h scope="row">"Hello"World"</th
>
* <td>false</td>
* </tr>
* </tbody>
...
...
@@ -1613,17 +1613,17 @@ public interface Statement extends Wrapper, AutoCloseable {
* <caption>Examples of the conversion:</caption>
* <thead>
* <tr>
* <th>Value</th>
* <th>Result</th>
* <th
scope="col"
>Value</th>
* <th
scope="col"
>Result</th>
* </tr>
* </thead>
* <tbody>
* <tr> <t
d>Hello</td
> <td>N'Hello'</td> </tr>
* <tr> <t
d>G'Day</td
> <td>N'G''Day'</td> </tr>
* <tr> <t
d>'G''Day'</td
>
* <tr> <t
h scope="row">Hello</th
> <td>N'Hello'</td> </tr>
* <tr> <t
h scope="row">G'Day</th
> <td>N'G''Day'</td> </tr>
* <tr> <t
h scope="row">'G''Day'</th
>
* <td>N'''G''''Day'''</td> </tr>
* <tr> <t
d>I'''M</td
> <td>N'I''''''M'</td>
* <tr> <t
d>N'Hello'</td
> <td>N'N''Hello'''</td> </tr>
* <tr> <t
h scope="row">I'''M</th
> <td>N'I''''''M'</td>
* <tr> <t
h scope="row">N'Hello'</th
> <td>N'N''Hello'''</td> </tr>
*
* </tbody>
* </table>
...
...
jdk/src/java.sql/share/classes/javax/sql/package.html
浏览文件 @
356419e7
...
...
@@ -280,7 +280,6 @@ generally, a writer will do the following:
The
<code>
RowSet
</code>
interface may be implemented in any number of
ways, and anyone may write an implementation. Developers are encouraged
to use their imaginations in coming up with new ways to use rowsets.
<P>
<h2>
Package Specification
</h2>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录