Condividi tramite


getRowIdLifetime Method (SQLServerDatabaseMetaData)

Returns a status indicating whether or not SQL RowId data type is supported. If supported, it returns the lifetime for which a RowId object remains valid.

Nota

This feature is introduced starting with the Microsoft SQL Server JDBC Driver version 2.0.

public java.sql.RowIdLifetime getRowIdLifetime()

Valore restituito

A RowIdLifetime object.

Nota

In the JDBC Driver version 2.0 release, this method returns java.sql.RowIdLifetime.ROWID_UNSUPPORTED value.

Eccezioni

SQLServerException

Osservazioni

This getRowIdLifetime method is specified by the getRowIdLifetime method in the java.sql.DatabaseMetaData interface.

Vedere anche

Riferimento

SQLServerDatabaseMetaData Class

Concetti

SQLServerDatabaseMetaData Methods
SQLServerDatabaseMetaData Members