Share via


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.

Note

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

Syntax

public java.sql.RowIdLifetime getRowIdLifetime()

Return Value

A RowIdLifetime object.

Note

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

Exceptions

SQLServerException

Remarks

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

See Also

Reference

SQLServerDatabaseMetaData Class

Concepts

SQLServerDatabaseMetaData Methods

SQLServerDatabaseMetaData Members