|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Enum
com.trolltech.qt.sql.QSqlDriver.DriverFeature
public static final class QSqlDriver.DriverFeature
This enum contains a list of features a driver might support. Use hasFeature()
to query whether a feature is supported or not. More information about supported features can be found in the Qt SQL driver documentation.
hasFeature()
.
Field Summary | |
---|---|
static QSqlDriver.DriverFeature |
BatchOperations
Whether the driver supports batched operations, see QSqlQuery::execBatch() |
static QSqlDriver.DriverFeature |
BLOB
Whether the driver supports Binary Large Object fields. |
static QSqlDriver.DriverFeature |
EventNotifications
Whether the driver supports database event notifications. |
static QSqlDriver.DriverFeature |
FinishQuery
Whether the driver can do any low-level resource cleanup when QSqlQuery::finish() is called. |
static QSqlDriver.DriverFeature |
LastInsertId
Whether the driver supports returning the Id of the last touched row. |
static QSqlDriver.DriverFeature |
LowPrecisionNumbers
Whether the driver allows fetching numerical values with low precision. |
static QSqlDriver.DriverFeature |
MultipleResultSets
Whether the driver can access multiple result sets returned from batched statements or stored procedures. |
static QSqlDriver.DriverFeature |
NamedPlaceholders
Whether the driver supports the use of named placeholders. |
static QSqlDriver.DriverFeature |
PositionalPlaceholders
Whether the driver supports the use of positional placeholders. |
static QSqlDriver.DriverFeature |
PreparedQueries
Whether the driver supports prepared query execution. |
static QSqlDriver.DriverFeature |
QuerySize
Whether the database is capable of reporting the size of a query. |
static QSqlDriver.DriverFeature |
SimpleLocking
Whether the driver disallows a write lock on a table while other queries have a read lock on it. |
static QSqlDriver.DriverFeature |
Transactions
Whether the driver supports SQL transactions. |
static QSqlDriver.DriverFeature |
Unicode
Whether the driver supports Unicode strings if the database server does. |
Method Summary | |
---|---|
static QSqlDriver.DriverFeature |
resolve(int value)
|
int |
value()
This function should return an integer value for the enum values of the enumeration that implements this interface. |
static QSqlDriver.DriverFeature |
valueOf(java.lang.String name)
|
static QSqlDriver.DriverFeature[] |
values()
|
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final QSqlDriver.DriverFeature Transactions
public static final QSqlDriver.DriverFeature QuerySize
QSqlQuery::size()
will return -1.
public static final QSqlDriver.DriverFeature BLOB
public static final QSqlDriver.DriverFeature Unicode
public static final QSqlDriver.DriverFeature PreparedQueries
public static final QSqlDriver.DriverFeature NamedPlaceholders
public static final QSqlDriver.DriverFeature PositionalPlaceholders
public static final QSqlDriver.DriverFeature LastInsertId
public static final QSqlDriver.DriverFeature BatchOperations
QSqlQuery::execBatch()
public static final QSqlDriver.DriverFeature SimpleLocking
public static final QSqlDriver.DriverFeature LowPrecisionNumbers
public static final QSqlDriver.DriverFeature EventNotifications
public static final QSqlDriver.DriverFeature FinishQuery
QSqlQuery::finish()
is called.
public static final QSqlDriver.DriverFeature MultipleResultSets
Method Detail |
---|
public static QSqlDriver.DriverFeature[] values()
public static QSqlDriver.DriverFeature valueOf(java.lang.String name)
public int value()
value
in interface QtEnumerator
public static QSqlDriver.DriverFeature resolve(int value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |