本文整理匯總了Java中java.sql.RowIdLifetime.ROWID_UNSUPPORTED屬性的典型用法代碼示例。如果您正苦於以下問題:Java RowIdLifetime.ROWID_UNSUPPORTED屬性的具體用法?Java RowIdLifetime.ROWID_UNSUPPORTED怎麽用?Java RowIdLifetime.ROWID_UNSUPPORTED使用的例子?那麽, 這裏精選的屬性代碼示例或許可以為您提供幫助。您也可以進一步了解該屬性所在類java.sql.RowIdLifetime
的用法示例。
在下文中一共展示了RowIdLifetime.ROWID_UNSUPPORTED屬性的14個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: getRowIdLifetime
/**
* {@inheritDoc}
*/
@Override
public RowIdLifetime getRowIdLifetime() throws SQLException {
this.conn.lock();
try {
initServiceMetaData();
switch (this.serviceMetaData.getRowIdLifeTime()) {
case ROWID_UNSUPPORTED:
return RowIdLifetime.ROWID_UNSUPPORTED;
case ROWID_VALID_OTHER:
return RowIdLifetime.ROWID_VALID_OTHER;
case ROWID_VALID_SESSION:
return RowIdLifetime.ROWID_VALID_SESSION;
case ROWID_VALID_TRANSACTION:
return RowIdLifetime.ROWID_VALID_TRANSACTION;
case ROWID_VALID_FOREVER:
return RowIdLifetime.ROWID_VALID_FOREVER;
default:
return RowIdLifetime.ROWID_UNSUPPORTED;
}
} finally {
this.conn.unlock();
}
}
示例2: getRowIdLifetime
@Override
public RowIdLifetime getRowIdLifetime() throws SQLException
{
return RowIdLifetime.ROWID_UNSUPPORTED;
}
示例3: getRowIdLifetime
public RowIdLifetime getRowIdLifetime() throws SQLException {
return RowIdLifetime.ROWID_UNSUPPORTED;
}
示例4: getRowIdLifetime
public RowIdLifetime getRowIdLifetime() throws SQLException {
return RowIdLifetime.ROWID_UNSUPPORTED;
}
示例5: getRowIdLifetime
/**
* Get the lifetime of a rowid.
*
* @return ROWID_UNSUPPORTED
*/
@Override
public RowIdLifetime getRowIdLifetime() {
debugCodeCall("getRowIdLifetime");
return RowIdLifetime.ROWID_UNSUPPORTED;
}
示例6: getRowIdLifetime
@Override
public RowIdLifetime getRowIdLifetime() throws SQLException {
return RowIdLifetime.ROWID_UNSUPPORTED;
}
示例7: getRowIdLifetime
@Override
public RowIdLifetime getRowIdLifetime() {
return RowIdLifetime.ROWID_UNSUPPORTED;
}
示例8: getRowIdLifetime
/**
* {@inheritDoc}.
*/
@Override
public RowIdLifetime getRowIdLifetime() {
return RowIdLifetime.ROWID_UNSUPPORTED;
}
示例9: getRowIdLifetime
@Override
public RowIdLifetime getRowIdLifetime()
throws SQLException
{
return RowIdLifetime.ROWID_UNSUPPORTED;
}
示例10: getRowIdLifetime
public RowIdLifetime getRowIdLifetime() throws SQLException {
return RowIdLifetime.ROWID_UNSUPPORTED;
}
示例11: getRowIdLifetime
@Override
public RowIdLifetime getRowIdLifetime() throws SQLException {
return RowIdLifetime.ROWID_UNSUPPORTED;
}
示例12: getRowIdLifetime
/**
* Indicates whether or not this data source supports the SQL <code>ROWID</code> type,
* and if so the lifetime for which a <code>RowId</code> object remains valid.
* <p>
* The returned int values have the following relationship:
* <pre>
* ROWID_UNSUPPORTED < ROWID_VALID_OTHER < ROWID_VALID_TRANSACTION
* < ROWID_VALID_SESSION < ROWID_VALID_FOREVER
* </pre>
* so conditional logic such as
* <pre>
* if (metadata.getRowIdLifetime() > DatabaseMetaData.ROWID_VALID_TRANSACTION)
* </pre>
* can be used. Valid Forever means valid across all Sessions, and valid for
* a Session means valid across all its contained Transactions.
*
* @return the status indicating the lifetime of a <code>RowId</code>
* @throws SQLException if a database access error occurs
* @since JDK 1.6, HSQLDB 1.9
*/
//#ifdef JAVA6
public RowIdLifetime getRowIdLifetime() throws SQLException {
return RowIdLifetime.ROWID_UNSUPPORTED;
}
示例13: getRowIdLifetime
/**
* Indicates whether or not this data source supports the SQL
* <code>ROWID</code> type. Since Derby does not support the
* <code>ROWID</code> type, return <code>ROWID_UNSUPPORTED</code>.
*
* @return <code>ROWID_UNSUPPORTED</code>
* @exception SQLException if a database access error occurs
*/
public RowIdLifetime getRowIdLifetime() throws SQLException {
checkForClosedConnection();
return RowIdLifetime.ROWID_UNSUPPORTED;
}
示例14: getRowIdLifetime
/**
* <p>
* <h1>Implementation Details:</h1><br>
* Returns RowIdLifetime.ROWID_UNSUPPORTED
* </p>
*/
@Override
public RowIdLifetime getRowIdLifetime() throws SQLException {
return RowIdLifetime.ROWID_UNSUPPORTED;
}