本文整理匯總了Java中java.sql.RowIdLifetime類的典型用法代碼示例。如果您正苦於以下問題:Java RowIdLifetime類的具體用法?Java RowIdLifetime怎麽用?Java RowIdLifetime使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。
RowIdLifetime類屬於java.sql包,在下文中一共展示了RowIdLifetime類的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: getRowIdLifetime
import java.sql.RowIdLifetime; //導入依賴的package包/類
/**
* {@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
import java.sql.RowIdLifetime; //導入依賴的package包/類
@Override
public RowIdLifetime getRowIdLifetime() throws SQLException
{
logger.debug("public RowIdLifetime getRowIdLifetime()");
throw new SQLFeatureNotSupportedException();
}
示例3: getRowIdLifetime
import java.sql.RowIdLifetime; //導入依賴的package包/類
public RowIdLifetime getRowIdLifetime()
throws SQLException
{
throw new SQLFeatureNotSupportedException(
"SPIDatabaseMetadata.getRowIdLifetime() not implemented yet.", "0A000" );
}
示例4: getRowIdLifetime
import java.sql.RowIdLifetime; //導入依賴的package包/類
@Override
public RowIdLifetime getRowIdLifetime() throws SQLException {
String methodName = new Object() {
}.getClass().getEnclosingMethod().getName();
verifyCallAuthorization(methodName);
return null;
}
示例5: getRowIdLifetime
import java.sql.RowIdLifetime; //導入依賴的package包/類
@Override
public RowIdLifetime getRowIdLifetime() throws SQLException
{
return RowIdLifetime.ROWID_UNSUPPORTED;
}
示例6: getRowIdLifetime
import java.sql.RowIdLifetime; //導入依賴的package包/類
public java.sql.RowIdLifetime getRowIdLifetime() throws SQLException {
return null;
}
示例7: getRowIdLifetime
import java.sql.RowIdLifetime; //導入依賴的package包/類
@Override
public RowIdLifetime getRowIdLifetime() throws SQLException {
throw new UnsupportedOperationException("Not supported yet.");
}
示例8: getRowIdLifetime
import java.sql.RowIdLifetime; //導入依賴的package包/類
@Override
public RowIdLifetime getRowIdLifetime() throws SQLException
{
checkClosed();
throw SQLError.noSupport();
}
示例9: getRowIdLifetime
import java.sql.RowIdLifetime; //導入依賴的package包/類
public RowIdLifetime getRowIdLifetime() throws SQLException {
return RowIdLifetime.ROWID_UNSUPPORTED;
}
示例10: getRowIdLifetime
import java.sql.RowIdLifetime; //導入依賴的package包/類
public RowIdLifetime getRowIdLifetime() throws SQLException {
throw new SQLException("Not Implemented: getRowIdLifetime()");
}
開發者ID:igapyon,項目名稱:blanco-sfdc-jdbc-driver,代碼行數:4,代碼來源:AbstractBlancoGenericJdbcDatabaseMetaData.java
示例11: getRowIdLifetime
import java.sql.RowIdLifetime; //導入依賴的package包/類
@Override public RowIdLifetime getRowIdLifetime() throws SQLException {
throw unsupported();
}
示例12: getRowIdLifetime
import java.sql.RowIdLifetime; //導入依賴的package包/類
public RowIdLifetime getRowIdLifetime() throws SQLException {
return RowIdLifetime.ROWID_UNSUPPORTED;
}
示例13: getRowIdLifetime
import java.sql.RowIdLifetime; //導入依賴的package包/類
@Override
public RowIdLifetime getRowIdLifetime() throws SQLException {
throwIfClosed();
return super.getRowIdLifetime();
}
示例14: getRowIdLifetime
import java.sql.RowIdLifetime; //導入依賴的package包/類
@Override
public RowIdLifetime getRowIdLifetime() throws SQLException {
// TODO Auto-generated method stub
throw new SQLException("Method not supported");
}
示例15: getRowIdLifetime
import java.sql.RowIdLifetime; //導入依賴的package包/類
/**
* Get the lifetime of a rowid.
*
* @return ROWID_UNSUPPORTED
*/
@Override
public RowIdLifetime getRowIdLifetime() {
debugCodeCall("getRowIdLifetime");
return RowIdLifetime.ROWID_UNSUPPORTED;
}