Condividi tramite


IDriver.JdbcCompliant Method

Definition

Reports whether this driver is a genuine JDBC Compliant<sup><font size=-2>TM</font></sup> driver.

[Android.Runtime.Register("jdbcCompliant", "()Z", "GetJdbcCompliantHandler:Java.Sql.IDriverInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public bool JdbcCompliant ();
[<Android.Runtime.Register("jdbcCompliant", "()Z", "GetJdbcCompliantHandler:Java.Sql.IDriverInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member JdbcCompliant : unit -> bool

Returns

true if this driver is JDBC Compliant; false otherwise

Attributes

Remarks

Reports whether this driver is a genuine JDBC Compliant<sup><font size=-2>TM</font></sup> driver. A driver may only report true here if it passes the JDBC compliance tests; otherwise it is required to return false.

JDBC compliance requires full support for the JDBC API and full support for SQL 92 Entry Level. It is expected that JDBC compliant drivers will be available for all the major commercial databases.

This method is not intended to encourage the development of non-JDBC compliant drivers, but is a recognition of the fact that some vendors are interested in using the JDBC API and framework for lightweight databases that do not support full database functionality, or for special databases such as document information retrieval where a SQL implementation may not be feasible.

Java documentation for java.sql.Driver.jdbcCompliant().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to