Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_jdk
提交
977b56eb
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看板
提交
977b56eb
编写于
12月 02, 2013
作者:
L
lancea
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
8029417: JDBC 4.2 javadoc updates
Reviewed-by: darcy
上级
7bddf0a0
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
27 addition
and
26 deletion
+27
-26
src/share/classes/java/sql/CallableStatement.java
src/share/classes/java/sql/CallableStatement.java
+10
-10
src/share/classes/java/sql/DriverManager.java
src/share/classes/java/sql/DriverManager.java
+5
-4
src/share/classes/java/sql/JDBCType.java
src/share/classes/java/sql/JDBCType.java
+2
-2
src/share/classes/java/sql/PreparedStatement.java
src/share/classes/java/sql/PreparedStatement.java
+4
-4
src/share/classes/java/sql/ResultSet.java
src/share/classes/java/sql/ResultSet.java
+4
-4
src/share/classes/java/sql/SQLPermission.java
src/share/classes/java/sql/SQLPermission.java
+2
-2
未找到文件。
src/share/classes/java/sql/CallableStatement.java
浏览文件 @
977b56eb
...
@@ -1108,7 +1108,7 @@ public interface CallableStatement extends PreparedStatement {
...
@@ -1108,7 +1108,7 @@ public interface CallableStatement extends PreparedStatement {
* parameter; if a database access error occurs or
* parameter; if a database access error occurs or
* this method is called on a closed <code>CallableStatement</code>
* this method is called on a closed <code>CallableStatement</code>
* @exception SQLFeatureNotSupportedException if
* @exception SQLFeatureNotSupportedException if
* the JDBC driver does not support th
is data t
ype
* the JDBC driver does not support th
e specified targetSqlT
ype
* @see Types
* @see Types
* @see #getObject
* @see #getObject
* @since 1.4
* @since 1.4
...
@@ -1131,7 +1131,7 @@ public interface CallableStatement extends PreparedStatement {
...
@@ -1131,7 +1131,7 @@ public interface CallableStatement extends PreparedStatement {
* parameter; if a database access error occurs or
* parameter; if a database access error occurs or
* this method is called on a closed <code>CallableStatement</code>
* this method is called on a closed <code>CallableStatement</code>
* @exception SQLFeatureNotSupportedException if
* @exception SQLFeatureNotSupportedException if
* the JDBC driver does not support th
is data t
ype
* the JDBC driver does not support th
e specified targetSqlT
ype
* @see #getObject
* @see #getObject
* @since 1.4
* @since 1.4
*/
*/
...
@@ -2536,7 +2536,7 @@ public interface CallableStatement extends PreparedStatement {
...
@@ -2536,7 +2536,7 @@ public interface CallableStatement extends PreparedStatement {
* or Reader object and the value of the scale parameter is less
* or Reader object and the value of the scale parameter is less
* than zero
* than zero
* @exception SQLFeatureNotSupportedException if
* @exception SQLFeatureNotSupportedException if
* the JDBC driver does not support th
is data t
ype
* the JDBC driver does not support th
e specified targetSqlT
ype
* @see JDBCType
* @see JDBCType
* @see SQLType
* @see SQLType
*
*
...
@@ -2562,7 +2562,7 @@ public interface CallableStatement extends PreparedStatement {
...
@@ -2562,7 +2562,7 @@ public interface CallableStatement extends PreparedStatement {
* parameter; if a database access error occurs
* parameter; if a database access error occurs
* or this method is called on a closed {@code CallableStatement}
* or this method is called on a closed {@code CallableStatement}
* @exception SQLFeatureNotSupportedException if
* @exception SQLFeatureNotSupportedException if
* the JDBC driver does not support th
is data t
ype
* the JDBC driver does not support th
e specified targetSqlT
ype
* @see JDBCType
* @see JDBCType
* @see SQLType
* @see SQLType
* @since 1.8
* @since 1.8
...
@@ -2603,7 +2603,7 @@ public interface CallableStatement extends PreparedStatement {
...
@@ -2603,7 +2603,7 @@ public interface CallableStatement extends PreparedStatement {
* if a database access error occurs or
* if a database access error occurs or
* this method is called on a closed {@code CallableStatement}
* this method is called on a closed {@code CallableStatement}
* @exception SQLFeatureNotSupportedException if
* @exception SQLFeatureNotSupportedException if
* the JDBC driver does not support th
is data t
ype
* the JDBC driver does not support th
e specified sqlT
ype
* @see JDBCType
* @see JDBCType
* @see SQLType
* @see SQLType
* @since 1.8
* @since 1.8
...
@@ -2639,7 +2639,7 @@ public interface CallableStatement extends PreparedStatement {
...
@@ -2639,7 +2639,7 @@ public interface CallableStatement extends PreparedStatement {
* if a database access error occurs or
* if a database access error occurs or
* this method is called on a closed {@code CallableStatement}
* this method is called on a closed {@code CallableStatement}
* @exception SQLFeatureNotSupportedException if
* @exception SQLFeatureNotSupportedException if
* the JDBC driver does not support th
is data t
ype
* the JDBC driver does not support th
e specified sqlT
ype
* @see JDBCType
* @see JDBCType
* @see SQLType
* @see SQLType
* @since 1.8
* @since 1.8
...
@@ -2686,7 +2686,7 @@ public interface CallableStatement extends PreparedStatement {
...
@@ -2686,7 +2686,7 @@ public interface CallableStatement extends PreparedStatement {
* if a database access error occurs or
* if a database access error occurs or
* this method is called on a closed {@code CallableStatement}
* this method is called on a closed {@code CallableStatement}
* @exception SQLFeatureNotSupportedException if
* @exception SQLFeatureNotSupportedException if
* the JDBC driver does not support th
is data t
ype
* the JDBC driver does not support th
e specified sqlT
ype
* @see JDBCType
* @see JDBCType
* @see SQLType
* @see SQLType
* @since 1.8
* @since 1.8
...
@@ -2725,7 +2725,7 @@ public interface CallableStatement extends PreparedStatement {
...
@@ -2725,7 +2725,7 @@ public interface CallableStatement extends PreparedStatement {
* parameter; if a database access error occurs or
* parameter; if a database access error occurs or
* this method is called on a closed {@code CallableStatement}
* this method is called on a closed {@code CallableStatement}
* @exception SQLFeatureNotSupportedException if
* @exception SQLFeatureNotSupportedException if
* the JDBC driver does not support th
is data t
ype
* the JDBC driver does not support th
e specified sqlT
ype
* or if the JDBC driver does not support
* or if the JDBC driver does not support
* this method
* this method
* @since 1.8
* @since 1.8
...
@@ -2762,7 +2762,7 @@ public interface CallableStatement extends PreparedStatement {
...
@@ -2762,7 +2762,7 @@ public interface CallableStatement extends PreparedStatement {
* parameter; if a database access error occurs or
* parameter; if a database access error occurs or
* this method is called on a closed {@code CallableStatement}
* this method is called on a closed {@code CallableStatement}
* @exception SQLFeatureNotSupportedException if
* @exception SQLFeatureNotSupportedException if
* the JDBC driver does not support th
is data t
ype
* the JDBC driver does not support th
e specified sqlT
ype
* or if the JDBC driver does not support
* or if the JDBC driver does not support
* this method
* this method
* @since 1.8
* @since 1.8
...
@@ -2811,7 +2811,7 @@ public interface CallableStatement extends PreparedStatement {
...
@@ -2811,7 +2811,7 @@ public interface CallableStatement extends PreparedStatement {
* parameter; if a database access error occurs or
* parameter; if a database access error occurs or
* this method is called on a closed {@code CallableStatement}
* this method is called on a closed {@code CallableStatement}
* @exception SQLFeatureNotSupportedException if
* @exception SQLFeatureNotSupportedException if
* the JDBC driver does not support th
is data t
ype
* the JDBC driver does not support th
e specified sqlT
ype
* or if the JDBC driver does not support this method
* or if the JDBC driver does not support this method
* @see JDBCType
* @see JDBCType
* @see SQLType
* @see SQLType
...
...
src/share/classes/java/sql/DriverManager.java
浏览文件 @
977b56eb
...
@@ -213,8 +213,8 @@ public class DriverManager {
...
@@ -213,8 +213,8 @@ public class DriverManager {
* The <code>DriverManager</code> attempts to select an appropriate driver from
* The <code>DriverManager</code> attempts to select an appropriate driver from
* the set of registered JDBC drivers.
* the set of registered JDBC drivers.
*<p>
*<p>
* <B>Note:</B> If
a property is specified as part of the {@code url} and
* <B>Note:</B> If
the {@code user} or {@code password} property are
*
is also specified in the {@code Properties} object
, it is
*
also specified as part of the {@code url}
, it is
* implementation-defined as to which value will take precedence.
* implementation-defined as to which value will take precedence.
* For maximum portability, an application should only specify a
* For maximum portability, an application should only specify a
* property once.
* property once.
...
@@ -320,7 +320,7 @@ public class DriverManager {
...
@@ -320,7 +320,7 @@ public class DriverManager {
* Registers the given driver with the {@code DriverManager}.
* Registers the given driver with the {@code DriverManager}.
* A newly-loaded driver class should call
* A newly-loaded driver class should call
* the method {@code registerDriver} to make itself
* the method {@code registerDriver} to make itself
* known to the {@code DriverManager}. If the driver
had previously been
* known to the {@code DriverManager}. If the driver
is currently
* registered, no action is taken.
* registered, no action is taken.
*
*
* @param driver the new JDBC Driver that is to be registered with the
* @param driver the new JDBC Driver that is to be registered with the
...
@@ -338,7 +338,7 @@ public class DriverManager {
...
@@ -338,7 +338,7 @@ public class DriverManager {
* Registers the given driver with the {@code DriverManager}.
* Registers the given driver with the {@code DriverManager}.
* A newly-loaded driver class should call
* A newly-loaded driver class should call
* the method {@code registerDriver} to make itself
* the method {@code registerDriver} to make itself
* known to the {@code DriverManager}. If the driver
had previously been
* known to the {@code DriverManager}. If the driver
is currently
* registered, no action is taken.
* registered, no action is taken.
*
*
* @param driver the new JDBC Driver that is to be registered with the
* @param driver the new JDBC Driver that is to be registered with the
...
@@ -347,6 +347,7 @@ public class DriverManager {
...
@@ -347,6 +347,7 @@ public class DriverManager {
* {@code DriverManager#deregisterDriver} is called
* {@code DriverManager#deregisterDriver} is called
* @exception SQLException if a database access error occurs
* @exception SQLException if a database access error occurs
* @exception NullPointerException if {@code driver} is null
* @exception NullPointerException if {@code driver} is null
* @since 1.8
*/
*/
public
static
synchronized
void
registerDriver
(
java
.
sql
.
Driver
driver
,
public
static
synchronized
void
registerDriver
(
java
.
sql
.
Driver
driver
,
DriverAction
da
)
DriverAction
da
)
...
...
src/share/classes/java/sql/JDBCType.java
浏览文件 @
977b56eb
...
@@ -218,8 +218,8 @@ public enum JDBCType implements SQLType {
...
@@ -218,8 +218,8 @@ public enum JDBCType implements SQLType {
}
}
/**
/**
*
Returns the name of the data type.
*
{@inheritDoc }
* @return The name of th
e data type
.
* @return The name of th
is {@code SQLType}
.
*/
*/
public
String
getName
()
{
public
String
getName
()
{
return
name
();
return
name
();
...
...
src/share/classes/java/sql/PreparedStatement.java
浏览文件 @
977b56eb
...
@@ -401,7 +401,7 @@ public interface PreparedStatement extends Statement {
...
@@ -401,7 +401,7 @@ public interface PreparedStatement extends Statement {
* marker in the SQL statement; if a database access error occurs or this
* marker in the SQL statement; if a database access error occurs or this
* method is called on a closed PreparedStatement
* method is called on a closed PreparedStatement
* @exception SQLFeatureNotSupportedException if
* @exception SQLFeatureNotSupportedException if
* the JDBC driver does not support th
is data t
ype
* the JDBC driver does not support th
e specified targetSqlT
ype
* @see Types
* @see Types
*/
*/
void
setObject
(
int
parameterIndex
,
Object
x
,
int
targetSqlType
)
void
setObject
(
int
parameterIndex
,
Object
x
,
int
targetSqlType
)
...
@@ -951,7 +951,7 @@ public interface PreparedStatement extends Statement {
...
@@ -951,7 +951,7 @@ public interface PreparedStatement extends Statement {
* or Reader object and the value of the scale parameter is less
* or Reader object and the value of the scale parameter is less
* than zero
* than zero
* @exception SQLFeatureNotSupportedException if
* @exception SQLFeatureNotSupportedException if
* the JDBC driver does not support th
is data t
ype
* the JDBC driver does not support th
e specified targetSqlT
ype
* @see Types
* @see Types
*
*
*/
*/
...
@@ -1255,7 +1255,7 @@ public interface PreparedStatement extends Statement {
...
@@ -1255,7 +1255,7 @@ public interface PreparedStatement extends Statement {
* or Reader object and the value of the scale parameter is less
* or Reader object and the value of the scale parameter is less
* than zero
* than zero
* @exception SQLFeatureNotSupportedException if
* @exception SQLFeatureNotSupportedException if
* the JDBC driver does not support th
is data t
ype
* the JDBC driver does not support th
e specified targetSqlT
ype
* @see JDBCType
* @see JDBCType
* @see SQLType
* @see SQLType
* @since 1.8
* @since 1.8
...
@@ -1281,7 +1281,7 @@ public interface PreparedStatement extends Statement {
...
@@ -1281,7 +1281,7 @@ public interface PreparedStatement extends Statement {
* parameter marker in the SQL statement; if a database access error occurs
* parameter marker in the SQL statement; if a database access error occurs
* or this method is called on a closed {@code PreparedStatement}
* or this method is called on a closed {@code PreparedStatement}
* @exception SQLFeatureNotSupportedException if
* @exception SQLFeatureNotSupportedException if
* the JDBC driver does not support th
is data t
ype
* the JDBC driver does not support th
e specified targetSqlT
ype
* @see JDBCType
* @see JDBCType
* @see SQLType
* @see SQLType
* @since 1.8
* @since 1.8
...
...
src/share/classes/java/sql/ResultSet.java
浏览文件 @
977b56eb
...
@@ -4178,7 +4178,7 @@ public interface ResultSet extends Wrapper, AutoCloseable {
...
@@ -4178,7 +4178,7 @@ public interface ResultSet extends Wrapper, AutoCloseable {
* the result set concurrency is {@code CONCUR_READ_ONLY}
* the result set concurrency is {@code CONCUR_READ_ONLY}
* or this method is called on a closed result set
* or this method is called on a closed result set
* @exception SQLFeatureNotSupportedException if the JDBC driver does not
* @exception SQLFeatureNotSupportedException if the JDBC driver does not
* support this method; if the JDBC driver does not support th
is data t
ype
* support this method; if the JDBC driver does not support th
e specified targetSqlT
ype
* @see JDBCType
* @see JDBCType
* @see SQLType
* @see SQLType
* @since 1.8
* @since 1.8
...
@@ -4221,7 +4221,7 @@ public interface ResultSet extends Wrapper, AutoCloseable {
...
@@ -4221,7 +4221,7 @@ public interface ResultSet extends Wrapper, AutoCloseable {
* the result set concurrency is {@code CONCUR_READ_ONLY}
* the result set concurrency is {@code CONCUR_READ_ONLY}
* or this method is called on a closed result set
* or this method is called on a closed result set
* @exception SQLFeatureNotSupportedException if the JDBC driver does not
* @exception SQLFeatureNotSupportedException if the JDBC driver does not
* support this method; if the JDBC driver does not support th
is data t
ype
* support this method; if the JDBC driver does not support th
e specified targetSqlT
ype
* @see JDBCType
* @see JDBCType
* @see SQLType
* @see SQLType
* @since 1.8
* @since 1.8
...
@@ -4249,7 +4249,7 @@ public interface ResultSet extends Wrapper, AutoCloseable {
...
@@ -4249,7 +4249,7 @@ public interface ResultSet extends Wrapper, AutoCloseable {
* the result set concurrency is {@code CONCUR_READ_ONLY}
* the result set concurrency is {@code CONCUR_READ_ONLY}
* or this method is called on a closed result set
* or this method is called on a closed result set
* @exception SQLFeatureNotSupportedException if the JDBC driver does not
* @exception SQLFeatureNotSupportedException if the JDBC driver does not
* support this method; if the JDBC driver does not support th
is data t
ype
* support this method; if the JDBC driver does not support th
e specified targetSqlT
ype
* @see JDBCType
* @see JDBCType
* @see SQLType
* @see SQLType
* @since 1.8
* @since 1.8
...
@@ -4279,7 +4279,7 @@ public interface ResultSet extends Wrapper, AutoCloseable {
...
@@ -4279,7 +4279,7 @@ public interface ResultSet extends Wrapper, AutoCloseable {
* the result set concurrency is {@code CONCUR_READ_ONLY}
* the result set concurrency is {@code CONCUR_READ_ONLY}
* or this method is called on a closed result set
* or this method is called on a closed result set
* @exception SQLFeatureNotSupportedException if the JDBC driver does not
* @exception SQLFeatureNotSupportedException if the JDBC driver does not
* support this method; if the JDBC driver does not support th
is data t
ype
* support this method; if the JDBC driver does not support th
e specified targetSqlT
ype
* @see JDBCType
* @see JDBCType
* @see SQLType
* @see SQLType
* @since 1.8
* @since 1.8
...
...
src/share/classes/java/sql/SQLPermission.java
浏览文件 @
977b56eb
...
@@ -122,7 +122,7 @@ public final class SQLPermission extends BasicPermission {
...
@@ -122,7 +122,7 @@ public final class SQLPermission extends BasicPermission {
*
*
* @param name the name of this <code>SQLPermission</code> object, which must
* @param name the name of this <code>SQLPermission</code> object, which must
* be either {@code setLog}, {@code callAbort}, {@code setSyncFactory},
* be either {@code setLog}, {@code callAbort}, {@code setSyncFactory},
* or {@code setNetworkTimeout}
*
{@code deregisterDriver},
or {@code setNetworkTimeout}
* @throws NullPointerException if <code>name</code> is <code>null</code>.
* @throws NullPointerException if <code>name</code> is <code>null</code>.
* @throws IllegalArgumentException if <code>name</code> is empty.
* @throws IllegalArgumentException if <code>name</code> is empty.
...
@@ -140,7 +140,7 @@ public final class SQLPermission extends BasicPermission {
...
@@ -140,7 +140,7 @@ public final class SQLPermission extends BasicPermission {
*
*
* @param name the name of this <code>SQLPermission</code> object, which must
* @param name the name of this <code>SQLPermission</code> object, which must
* be either {@code setLog}, {@code callAbort}, {@code setSyncFactory},
* be either {@code setLog}, {@code callAbort}, {@code setSyncFactory},
* or {@code setNetworkTimeout}
*
{@code deregisterDriver},
or {@code setNetworkTimeout}
* @param actions should be <code>null</code>
* @param actions should be <code>null</code>
* @throws NullPointerException if <code>name</code> is <code>null</code>.
* @throws NullPointerException if <code>name</code> is <code>null</code>.
* @throws IllegalArgumentException if <code>name</code> is empty.
* @throws IllegalArgumentException if <code>name</code> is empty.
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录