< prev index next >

src/java.sql/share/classes/java/sql/Driver.java

Print this page
rev 60127 : 8249205: Remove unnecessary trademark symbols


 128     DriverPropertyInfo[] getPropertyInfo(String url, java.util.Properties info)
 129                          throws SQLException;
 130 
 131 
 132     /**
 133      * Retrieves the driver's major version number. Initially this should be 1.
 134      *
 135      * @return this driver's major version number
 136      */
 137     int getMajorVersion();
 138 
 139     /**
 140      * Gets the driver's minor version number. Initially this should be 0.
 141      * @return this driver's minor version number
 142      */
 143     int getMinorVersion();
 144 
 145 
 146     /**
 147      * Reports whether this driver is a genuine JDBC
 148      * Compliant&trade; driver.
 149      * A driver may only report <code>true</code> here if it passes the JDBC
 150      * compliance tests; otherwise it is required to return <code>false</code>.
 151      * <P>
 152      * JDBC compliance requires full support for the JDBC API and full support
 153      * for SQL 92 Entry Level.  It is expected that JDBC compliant drivers will
 154      * be available for all the major commercial databases.
 155      * <P>
 156      * This method is not intended to encourage the development of non-JDBC
 157      * compliant drivers, but is a recognition of the fact that some vendors
 158      * are interested in using the JDBC API and framework for lightweight
 159      * databases that do not support full database functionality, or for
 160      * special databases such as document information retrieval where a SQL
 161      * implementation may not be feasible.
 162      * @return <code>true</code> if this driver is JDBC Compliant; <code>false</code>
 163      *         otherwise
 164      */
 165     boolean jdbcCompliant();
 166 
 167     //------------------------- JDBC 4.1 -----------------------------------
 168 


 128     DriverPropertyInfo[] getPropertyInfo(String url, java.util.Properties info)
 129                          throws SQLException;
 130 
 131 
 132     /**
 133      * Retrieves the driver's major version number. Initially this should be 1.
 134      *
 135      * @return this driver's major version number
 136      */
 137     int getMajorVersion();
 138 
 139     /**
 140      * Gets the driver's minor version number. Initially this should be 0.
 141      * @return this driver's minor version number
 142      */
 143     int getMinorVersion();
 144 
 145 
 146     /**
 147      * Reports whether this driver is a genuine JDBC
 148      * Compliant driver.
 149      * A driver may only report <code>true</code> here if it passes the JDBC
 150      * compliance tests; otherwise it is required to return <code>false</code>.
 151      * <P>
 152      * JDBC compliance requires full support for the JDBC API and full support
 153      * for SQL 92 Entry Level.  It is expected that JDBC compliant drivers will
 154      * be available for all the major commercial databases.
 155      * <P>
 156      * This method is not intended to encourage the development of non-JDBC
 157      * compliant drivers, but is a recognition of the fact that some vendors
 158      * are interested in using the JDBC API and framework for lightweight
 159      * databases that do not support full database functionality, or for
 160      * special databases such as document information retrieval where a SQL
 161      * implementation may not be feasible.
 162      * @return <code>true</code> if this driver is JDBC Compliant; <code>false</code>
 163      *         otherwise
 164      */
 165     boolean jdbcCompliant();
 166 
 167     //------------------------- JDBC 4.1 -----------------------------------
 168 
< prev index next >