jdk/src/share/classes/java/sql/Driver.java
changeset 18564 f9db68ff2cbb
parent 17199 28853592ce2b
equal deleted inserted replaced
18563:35827454c772 18564:f9db68ff2cbb
   142     int getMinorVersion();
   142     int getMinorVersion();
   143 
   143 
   144 
   144 
   145     /**
   145     /**
   146      * Reports whether this driver is a genuine JDBC
   146      * Reports whether this driver is a genuine JDBC
   147      * Compliant<sup><font size=-2>TM</font></sup> driver.
   147      * Compliant&trade; driver.
   148      * A driver may only report <code>true</code> here if it passes the JDBC
   148      * A driver may only report <code>true</code> here if it passes the JDBC
   149      * compliance tests; otherwise it is required to return <code>false</code>.
   149      * compliance tests; otherwise it is required to return <code>false</code>.
   150      * <P>
   150      * <P>
   151      * JDBC compliance requires full support for the JDBC API and full support
   151      * JDBC compliance requires full support for the JDBC API and full support
   152      * for SQL 92 Entry Level.  It is expected that JDBC compliant drivers will
   152      * for SQL 92 Entry Level.  It is expected that JDBC compliant drivers will
   171      * still an ancestor of all of the Loggers used by this driver. Configuring
   171      * still an ancestor of all of the Loggers used by this driver. Configuring
   172      * this Logger will affect all of the log messages generated by the driver.
   172      * this Logger will affect all of the log messages generated by the driver.
   173      * In the worst case, this may be the root Logger.
   173      * In the worst case, this may be the root Logger.
   174      *
   174      *
   175      * @return the parent Logger for this driver
   175      * @return the parent Logger for this driver
   176      * @throws SQLFeatureNotSupportedException if the driver does not use <code>java.util.logging<code>.
   176      * @throws SQLFeatureNotSupportedException if the driver does not use
       
   177      * {@code java.util.logging}.
   177      * @since 1.7
   178      * @since 1.7
   178      */
   179      */
   179     public Logger getParentLogger() throws SQLFeatureNotSupportedException;
   180     public Logger getParentLogger() throws SQLFeatureNotSupportedException;
   180 }
   181 }