:: com :: sun :: star :: sdbc ::

constants group BestRowScope
Description
determines how long a row identifier is valid.

Constants
TEMPORARY indicates that the scope of the best row identifier is very temporary, lasting only while the row is being used. A possible value for the column SCOPE in the XResultSet object returned by the method XDatabaseMetaData::getBestRowIdentifier() .  
TRANSACTION indicates that the scope of the best row identifier is the remainder of the current transaction. A possible value for the column SCOPE in the XResultSet object returned by the method XDatabaseMetaData::getBestRowIdentifier() .  
SESSION indicates that the scope of the best row identifier is the remainder of the current session. A possible value for the column SCOPE in the XResultSet object returned by the method XDatabaseMetaData::getBestRowIdentifier() .  
Constants' Details
TEMPORARY
const long TEMPORARY = 0;
Description
indicates that the scope of the best row identifier is very temporary, lasting only while the row is being used. A possible value for the column SCOPE in the XResultSet object returned by the method XDatabaseMetaData::getBestRowIdentifier() .
TRANSACTION
const long TRANSACTION = 1;
Description
indicates that the scope of the best row identifier is the remainder of the current transaction. A possible value for the column SCOPE in the XResultSet object returned by the method XDatabaseMetaData::getBestRowIdentifier() .
SESSION
const long SESSION = 2;
Description
indicates that the scope of the best row identifier is the remainder of the current session. A possible value for the column SCOPE in the XResultSet object returned by the method XDatabaseMetaData::getBestRowIdentifier() .
Top of Page