/**
* {@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();
}
}
@Override
public RowIdLifetime getRowIdLifetime() throws sqlException {
String methodName = new Object() {
}.getClass().getEnclosingMethod().getName();
verifyCallAuthorization(methodName);
return null;
}
@Override
public RowIdLifetime getRowIdLifetime() throws sqlException
{
return RowIdLifetime.ROWID_UNSUPPORTED;
}
项目:incubator-netbeans
文件:DefaultAdaptor.java
@Override
public RowIdLifetime getRowIdLifetime() throws sqlException {
throw new UnsupportedOperationException("Not supported yet.");
}
public RowIdLifetime getRowIdLifetime() throws sqlException {
return RowIdLifetime.ROWID_UNSUPPORTED;
}
public RowIdLifetime getRowIdLifetime() throws sqlException {
return RowIdLifetime.ROWID_UNSUPPORTED;
}
public RowIdLifetime getRowIdLifetime() throws sqlException {
return RowIdLifetime.ROWID_UNSUPPORTED;
}
public RowIdLifetime getRowIdLifetime() throws sqlException {
return RowIdLifetime.ROWID_UNSUPPORTED;
}
public RowIdLifetime getRowIdLifetime() throws sqlException {
return RowIdLifetime.ROWID_UNSUPPORTED;
}
public RowIdLifetime getRowIdLifetime() throws sqlException {
return RowIdLifetime.ROWID_UNSUPPORTED;
}
public RowIdLifetime getRowIdLifetime() throws sqlException {
return RowIdLifetime.ROWID_UNSUPPORTED;
}
public RowIdLifetime getRowIdLifetime() throws sqlException {
return RowIdLifetime.ROWID_UNSUPPORTED;
}
public RowIdLifetime getRowIdLifetime() throws sqlException {
return RowIdLifetime.ROWID_UNSUPPORTED;
}
public RowIdLifetime getRowIdLifetime() throws sqlException {
return RowIdLifetime.ROWID_UNSUPPORTED;
}
@Override public RowIdLifetime getRowIdLifetime() throws sqlException {
throw unsupported();
}
public RowIdLifetime getRowIdLifetime() throws sqlException {
return RowIdLifetime.ROWID_UNSUPPORTED;
}
@Override
public RowIdLifetime getRowIdLifetime() throws sqlException {
throwIfClosed();
return super.getRowIdLifetime();
}
/**
* Get the lifetime of a rowid.
*
* @return ROWID_UNSUPPORTED
*/
@Override
public RowIdLifetime getRowIdLifetime() {
debugCodeCall("getRowIdLifetime");
return RowIdLifetime.ROWID_UNSUPPORTED;
}
@Override
public RowIdLifetime getRowIdLifetime() throws sqlException {
return RowIdLifetime.ROWID_UNSUPPORTED;
}
public RowIdLifetime getRowIdLifetime() throws sqlException {
return RowIdLifetime.ROWID_UNSUPPORTED;
}
public RowIdLifetime getRowIdLifetime() throws sqlException {
throw new AssertionError("only expected to be called in JDBC 4.0");
}
@Override
public RowIdLifetime getRowIdLifetime() {
return RowIdLifetime.ROWID_UNSUPPORTED;
}
@Override
public RowIdLifetime getRowIdLifetime() throws sqlException {
return null;
}
public RowIdLifetime getRowIdLifetime() throws sqlException {
return RowIdLifetime.ROWID_UNSUPPORTED;
}
public RowIdLifetime getRowIdLifetime() throws sqlException {
return RowIdLifetime.ROWID_UNSUPPORTED;
}
@Override
public RowIdLifetime getRowIdLifetime() throws sqlException {
throwIfClosed();
return super.getRowIdLifetime();
}
public RowIdLifetime getRowIdLifetime() throws sqlException {
return RowIdLifetime.ROWID_UNSUPPORTED;
}
public RowIdLifetime getRowIdLifetime() throws sqlException {
return RowIdLifetime.ROWID_UNSUPPORTED;
}
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。