diff --git a/jdk/src/java.sql.rowset/share/classes/javax/sql/rowset/package.html b/jdk/src/java.sql.rowset/share/classes/javax/sql/rowset/package.html index e52d3c9ec99..12ee65c9b8e 100644 --- a/jdk/src/java.sql.rowset/share/classes/javax/sql/rowset/package.html +++ b/jdk/src/java.sql.rowset/share/classes/javax/sql/rowset/package.html @@ -177,13 +177,13 @@ abstract class provides. Features in BaseRowSet - Feature - Details + Feature + Details - Properties + Properties Provides standard JavaBeans property manipulation mechanisms to allow applications to get and set RowSet command and property values. Refer to the documentation of the javax.sql.RowSet @@ -191,7 +191,7 @@ interface (available in the JDBC 3.0 specification) for more details on the standard RowSet properties. - Event notification + Event notification Provides standard JavaBeans event notifications to registered event listeners. Refer to the documentation of javax.sql.RowSetEvent 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. - Setters for a RowSet object's command + Setters for a RowSet object's command Provides a complete set of setter methods for setting RowSet command parameters. - Streams + Streams Provides fields for storing of stream instances in addition to providing a set of constants for stream type designation. diff --git a/jdk/src/java.sql/share/classes/java/sql/Connection.java b/jdk/src/java.sql/share/classes/java/sql/Connection.java index 446f63c0f36..f3a6da0caa5 100644 --- a/jdk/src/java.sql/share/classes/java/sql/Connection.java +++ b/jdk/src/java.sql/share/classes/java/sql/Connection.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 1996, 2015, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1996, 2017, 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. - *

+ * * @apiNote * This method is to be used by Connection pooling managers. *

diff --git a/jdk/src/java.sql/share/classes/java/sql/DriverManager.java b/jdk/src/java.sql/share/classes/java/sql/DriverManager.java index 6c4f68a58b8..2399b596d8f 100644 --- a/jdk/src/java.sql/share/classes/java/sql/DriverManager.java +++ b/jdk/src/java.sql/share/classes/java/sql/DriverManager.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 1996, 2016, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1996, 2017, 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. * * - *

* @implNote * {@code DriverManager} initialization is done lazily and looks up service * providers using the thread context class loader. The drivers loaded and diff --git a/jdk/src/java.sql/share/classes/java/sql/SQLPermission.java b/jdk/src/java.sql/share/classes/java/sql/SQLPermission.java index 9907b98cc0d..dbdfb50efa0 100644 --- a/jdk/src/java.sql/share/classes/java/sql/SQLPermission.java +++ b/jdk/src/java.sql/share/classes/java/sql/SQLPermission.java @@ -62,29 +62,29 @@ import java.security.*; * permission target name, what the permission allows, and associated risks * * - * Permission Target Name - * What the Permission Allows - * Risks of Allowing this Permission + * Permission Target Name + * What the Permission Allows + * Risks of Allowing this Permission * * * * * - * setLog + * setLog * Setting of the logging stream * This is a dangerous permission to grant. * The contents of the log may contain usernames and passwords, * SQL statements, and SQL data. * * - * callAbort + * callAbort * Allows the invocation of the {@code Connection} method * {@code abort} * Permits an application to terminate a physical connection to a * database. * * - * setSyncFactory + * setSyncFactory * Allows the invocation of the {@code SyncFactory} methods * {@code setJNDIContext} and {@code setLogger} * Permits an application to specify the JNDI context from which the @@ -93,7 +93,7 @@ import java.security.*; * * * - * setNetworkTimeout + * setNetworkTimeout * Allows the invocation of the {@code Connection} method * {@code setNetworkTimeout} * Permits an application to specify the maximum period a @@ -101,7 +101,7 @@ import java.security.*; * objects created from the Connection * will wait for the database to reply to any one request. * - * deregisterDriver + * deregisterDriver * Allows the invocation of the {@code DriverManager} * method {@code deregisterDriver} * Permits an application to remove a JDBC driver from the list of diff --git a/jdk/src/java.sql/share/classes/java/sql/Statement.java b/jdk/src/java.sql/share/classes/java/sql/Statement.java index 9e6e2d900b8..89828185508 100644 --- a/jdk/src/java.sql/share/classes/java/sql/Statement.java +++ b/jdk/src/java.sql/share/classes/java/sql/Statement.java @@ -1379,17 +1379,17 @@ public interface Statement extends Wrapper, AutoCloseable { * single quote within the string will be replaced by two single quotes. * *

- * + *
* * - * + * * * - * - * - * + * + * + * * - * + * * * * @@ -1454,48 +1454,48 @@ public interface Statement extends Wrapper, AutoCloseable { * * * - * - * - * + * + * + * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * @@ -1554,33 +1554,33 @@ public interface Statement extends Wrapper, AutoCloseable { * * * - * - * + * + * * * * * - * + * * * * - * + * * * * - * + * * * * - * + * * * * - * + * * * * - * + * * * * @@ -1613,17 +1613,17 @@ public interface Statement extends Wrapper, AutoCloseable { * * * - * - * + * + * * * * - * - * - * + * + * + * * - * - * + * + * * * *
Examples of the conversion:
ValueResult
ValueResult
Hello 'Hello'
G'Day 'G''Day'
'G''Day'
Hello 'Hello'
G'Day 'G''Day'
'G''Day''''G''''Day'''
I'''M 'I''''''M'
I'''M 'I''''''M'
Examples of the conversion:
identifieralwaysQuoteResult
identifieralwaysQuoteResult
HelloHellofalseHello
HelloHellotrue"Hello"
G'DayG'Dayfalse"G'Day"
"Bruce Wayne""Bruce Wayne"false"Bruce Wayne"
"Bruce Wayne""Bruce Wayne"true"Bruce Wayne"
GoodDay$GoodDay$false"GoodDay$"
Hello"WorldHello"WorldfalseSQLException
"Hello"World""Hello"World"falseSQLException
Examples of the conversion:
identifierSimple IdentifieridentifierSimple Identifier
HelloHellotrue
G'DayG'Dayfalse
"Bruce Wayne""Bruce Wayne"false
GoodDay$GoodDay$false
Hello"WorldHello"Worldfalse
"Hello"World""Hello"World"false
Examples of the conversion:
ValueResultValueResult
Hello N'Hello'
G'Day N'G''Day'
'G''Day'
Hello N'Hello'
G'Day N'G''Day'
'G''Day'N'''G''''Day'''
I'''M N'I''''''M'
N'Hello' N'N''Hello'''
I'''M N'I''''''M'
N'Hello' N'N''Hello'''
diff --git a/jdk/src/java.sql/share/classes/javax/sql/package.html b/jdk/src/java.sql/share/classes/javax/sql/package.html index 75cb739d7cf..8ee4c44913b 100644 --- a/jdk/src/java.sql/share/classes/javax/sql/package.html +++ b/jdk/src/java.sql/share/classes/javax/sql/package.html @@ -280,7 +280,6 @@ generally, a writer will do the following: The RowSet 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. -

Package Specification