Java Code Examples for java.sql.RowIdLifetime

The following are top voted examples for showing how to use java.sql.RowIdLifetime. These examples are extracted from open source projects. You can vote up the examples you like and your votes will be used in our system to generate more good examples.
Example 1
Project: gemfirexd-oss   File: ClientDBMetaData.java   View source code 6 votes vote down vote up
/**
 * {@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();
  }
}
 
Example 2
Project: gemfirexd-oss   File: ClientDBMetaData.java   View source code 6 votes vote down vote up
/**
 * {@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();
  }
}
 
Example 3
Project: snowflake-jdbc   File: SnowflakeDatabaseMetaData.java   View source code 5 votes vote down vote up
@Override
public RowIdLifetime getRowIdLifetime() throws SQLException
{
  logger.debug("public RowIdLifetime getRowIdLifetime()");

  throw new SQLFeatureNotSupportedException();
}
 
Example 4
Project: pljava   File: SPIDatabaseMetaData.java   View source code 5 votes vote down vote up
public RowIdLifetime getRowIdLifetime()
                              throws SQLException
{
	throw new SQLFeatureNotSupportedException(
		"SPIDatabaseMetadata.getRowIdLifetime() not implemented yet.", "0A000" );

}
 
Example 5
Project: awake-file   File: AbstractDatabaseMetaData.java   View source code 5 votes vote down vote up
@Override
   public RowIdLifetime getRowIdLifetime() throws SQLException {
String methodName = new Object() {
}.getClass().getEnclosingMethod().getName();
verifyCallAuthorization(methodName);
return null;
   }
 
Example 6
Project: spanner-jdbc   File: CloudSpannerDatabaseMetaData.java   View source code 4 votes vote down vote up
@Override
public RowIdLifetime getRowIdLifetime() throws SQLException
{
	return RowIdLifetime.ROWID_UNSUPPORTED;
}
 
Example 7
Project: incubator-netbeans   File: DefaultAdaptor.java   View source code 4 votes vote down vote up
public java.sql.RowIdLifetime getRowIdLifetime() throws SQLException {
    return null;
}
 
Example 8
Project: incubator-netbeans   File: DatabaseMetaDataAdapter.java   View source code 4 votes vote down vote up
@Override
public RowIdLifetime getRowIdLifetime() throws SQLException {
    throw new UnsupportedOperationException("Not supported yet.");
}
 
Example 9
Project: sstore-soft   File: JDBC4DatabaseMetaData.java   View source code 4 votes vote down vote up
@Override
public RowIdLifetime getRowIdLifetime() throws SQLException
{
    checkClosed();
    throw SQLError.noSupport();
}
 
Example 10
Project: the-vigilantes   File: JDBC4DatabaseMetaDataUsingInfoSchema.java   View source code 4 votes vote down vote up
public RowIdLifetime getRowIdLifetime() throws SQLException {
    return RowIdLifetime.ROWID_UNSUPPORTED;
}
 
Example 11
Project: the-vigilantes   File: JDBC4DatabaseMetaData.java   View source code 4 votes vote down vote up
public RowIdLifetime getRowIdLifetime() throws SQLException {
    return RowIdLifetime.ROWID_UNSUPPORTED;
}
 
Example 12
Project: s-store   File: JDBC4DatabaseMetaData.java   View source code 4 votes vote down vote up
@Override
public RowIdLifetime getRowIdLifetime() throws SQLException
{
    checkClosed();
    throw SQLError.noSupport();
}
 
Example 13
Project: OpenVertretung   File: JDBC4DatabaseMetaDataUsingInfoSchema.java   View source code 4 votes vote down vote up
public RowIdLifetime getRowIdLifetime() throws SQLException {
    return RowIdLifetime.ROWID_UNSUPPORTED;
}
 
Example 14
Project: OpenVertretung   File: JDBC4DatabaseMetaData.java   View source code 4 votes vote down vote up
public RowIdLifetime getRowIdLifetime() throws SQLException {
    return RowIdLifetime.ROWID_UNSUPPORTED;
}
 
Example 15
Project: lams   File: JDBC4DatabaseMetaDataUsingInfoSchema.java   View source code 4 votes vote down vote up
public RowIdLifetime getRowIdLifetime() throws SQLException {
    return RowIdLifetime.ROWID_UNSUPPORTED;
}
 
Example 16
Project: lams   File: JDBC4DatabaseMetaData.java   View source code 4 votes vote down vote up
public RowIdLifetime getRowIdLifetime() throws SQLException {
    return RowIdLifetime.ROWID_UNSUPPORTED;
}
 
Example 17
Project: ProyectoPacientes   File: JDBC4DatabaseMetaDataUsingInfoSchema.java   View source code 4 votes vote down vote up
public RowIdLifetime getRowIdLifetime() throws SQLException {
    return RowIdLifetime.ROWID_UNSUPPORTED;
}
 
Example 18
Project: ProyectoPacientes   File: JDBC4DatabaseMetaData.java   View source code 4 votes vote down vote up
public RowIdLifetime getRowIdLifetime() throws SQLException {
    return RowIdLifetime.ROWID_UNSUPPORTED;
}
 
Example 19
Project: blanco-sfdc-jdbc-driver   File: AbstractBlancoGenericJdbcDatabaseMetaData.java   View source code 4 votes vote down vote up
public RowIdLifetime getRowIdLifetime() throws SQLException {
	throw new SQLException("Not Implemented: getRowIdLifetime()");
}
 
Example 20
Project: BibliotecaPS   File: JDBC4DatabaseMetaDataUsingInfoSchema.java   View source code 4 votes vote down vote up
public RowIdLifetime getRowIdLifetime() throws SQLException {
    return RowIdLifetime.ROWID_UNSUPPORTED;
}
 
Example 21
Project: BibliotecaPS   File: JDBC4DatabaseMetaData.java   View source code 4 votes vote down vote up
public RowIdLifetime getRowIdLifetime() throws SQLException {
    return RowIdLifetime.ROWID_UNSUPPORTED;
}
 
Example 22
Project: calcite-avatica   File: AvaticaNoopDatabaseMetaData.java   View source code 4 votes vote down vote up
@Override public RowIdLifetime getRowIdLifetime() throws SQLException {
  throw unsupported();
}
 
Example 23
Project: calcite-avatica   File: AvaticaDatabaseMetaData.java   View source code 4 votes vote down vote up
public RowIdLifetime getRowIdLifetime() throws SQLException {
  return RowIdLifetime.ROWID_UNSUPPORTED;
}
 
Example 24
Project: dremio-oss   File: DremioDatabaseMetaDataImpl.java   View source code 4 votes vote down vote up
@Override
public RowIdLifetime getRowIdLifetime() throws SQLException {
  throwIfClosed();
  return super.getRowIdLifetime();
}
 
Example 25
Project: iotdb-jdbc   File: TsfileDatabaseMetadata.java   View source code 4 votes vote down vote up
@Override
public RowIdLifetime getRowIdLifetime() throws SQLException {
	// TODO Auto-generated method stub
	throw new SQLException("Method not supported");
}
 
Example 26
Project: ThriftyPaxos   File: JdbcDatabaseMetaData.java   View source code 4 votes vote down vote up
/**
 * Get the lifetime of a rowid.
 *
 * @return ROWID_UNSUPPORTED
 */
@Override
public RowIdLifetime getRowIdLifetime() {
    debugCodeCall("getRowIdLifetime");
    return RowIdLifetime.ROWID_UNSUPPORTED;
}
 
Example 27
Project: jdbc-adapter   File: Jdbc42DatabaseMetaData.java   View source code 4 votes vote down vote up
@Override
public RowIdLifetime getRowIdLifetime() throws SQLException {
  return this.metaData.getRowIdLifetime();
}
 
Example 28
Project: herddb   File: HerdDBDatabaseMetadata.java   View source code 4 votes vote down vote up
@Override
public RowIdLifetime getRowIdLifetime() throws SQLException {
    return RowIdLifetime.ROWID_UNSUPPORTED;
}
 
Example 29
Project: gemfirexd-oss   File: EmbedDatabaseMetaData40.java   View source code 4 votes vote down vote up
public RowIdLifetime getRowIdLifetime() throws SQLException {
    return RowIdLifetime.ROWID_UNSUPPORTED;
}
 
Example 30
Project: gemfirexd-oss   File: EmbedDatabaseMetaData.java   View source code 4 votes vote down vote up
public RowIdLifetime getRowIdLifetime() throws SQLException {
  throw new AssertionError("only expected to be called in JDBC 4.0");
}
 
Example 31
Project: dw-jdbc   File: AbstractDatabaseMetaData.java   View source code 4 votes vote down vote up
@Override
public RowIdLifetime getRowIdLifetime() {
    return RowIdLifetime.ROWID_UNSUPPORTED;
}
 
Example 32
Project: sql4es   File: ESDatabaseMetaData.java   View source code 4 votes vote down vote up
@Override
public RowIdLifetime getRowIdLifetime() throws SQLException {
	// TODO Auto-generated method stub
	return null;
}
 
Example 33
Project: Riak-TS-JDBC-Driver   File: DatabaseMetaData.java   View source code 4 votes vote down vote up
public RowIdLifetime getRowIdLifetime() throws SQLException {
	// TODO Auto-generated method stub
	return null;
}
 
Example 34
Project: incubator-zeppelin-druid   File: TesterDatabaseMetaData.java   View source code 4 votes vote down vote up
@Override
public RowIdLifetime getRowIdLifetime() throws SQLException {
  return null;
}
 
Example 35
Project: Geometry-wars   File: JDBC4DatabaseMetaDataUsingInfoSchema.java   View source code 4 votes vote down vote up
public RowIdLifetime getRowIdLifetime() throws SQLException {
    return RowIdLifetime.ROWID_UNSUPPORTED;
}
 
Example 36
Project: Geometry-wars   File: JDBC4DatabaseMetaData.java   View source code 4 votes vote down vote up
public RowIdLifetime getRowIdLifetime() throws SQLException {
    return RowIdLifetime.ROWID_UNSUPPORTED;
}
 
Example 37
Project: drill   File: DrillDatabaseMetaDataImpl.java   View source code 4 votes vote down vote up
@Override
public RowIdLifetime getRowIdLifetime() throws SQLException {
  throwIfClosed();
  return super.getRowIdLifetime();
}
 
Example 38
Project: TPKB   File: JDBC4DatabaseMetaDataUsingInfoSchema.java   View source code 4 votes vote down vote up
public RowIdLifetime getRowIdLifetime() throws SQLException {
    return RowIdLifetime.ROWID_UNSUPPORTED;
}
 
Example 39
Project: TPKB   File: JDBC4DatabaseMetaData.java   View source code 4 votes vote down vote up
public RowIdLifetime getRowIdLifetime() throws SQLException {
    return RowIdLifetime.ROWID_UNSUPPORTED;
}
 
Example 40
Project: jdbc-driver   File: ArielDatabaseMetaData.java   View source code 4 votes vote down vote up
public RowIdLifetime getRowIdLifetime() throws SQLException {
	// TODO Auto-generated method stub
	return null;
}