java.sql.RowIdLifetime Java Examples
The following examples show how to use
java.sql.RowIdLifetime.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: ClientDBMetaData.java From gemfirexd-oss with Apache License 2.0 | 6 votes |
/** * {@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
Source File: ClientDBMetaData.java From gemfirexd-oss with Apache License 2.0 | 6 votes |
/** * {@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
Source File: DelegatingDatabaseMetaData.java From Tomcat8-Source-Read with MIT License | 5 votes |
@Override public RowIdLifetime getRowIdLifetime() throws SQLException { try { return databaseMetaData.getRowIdLifetime(); } catch (final SQLException e) { handleException(e); throw new AssertionError(); } }
Example #4
Source File: CachedDatabaseMetaData.java From shardingsphere with Apache License 2.0 | 5 votes |
private RowIdLifetime getRowIdLifetimeFromOriginMetaData(final DatabaseMetaData databaseMetaData) throws SQLException { try { return databaseMetaData.getRowIdLifetime(); } catch (final SQLFeatureNotSupportedException ignore) { return RowIdLifetime.ROWID_UNSUPPORTED; } }
Example #5
Source File: CachedDatabaseMetaData.java From shardingsphere with Apache License 2.0 | 5 votes |
private RowIdLifetime getRowIdLifetimeFromOriginMetaData(final DatabaseMetaData databaseMetaData) throws SQLException { try { return databaseMetaData.getRowIdLifetime(); } catch (final SQLFeatureNotSupportedException ignore) { return RowIdLifetime.ROWID_UNSUPPORTED; } }
Example #6
Source File: DelegatingDatabaseMetaData.java From commons-dbcp with Apache License 2.0 | 5 votes |
@Override public RowIdLifetime getRowIdLifetime() throws SQLException { try { return databaseMetaData.getRowIdLifetime(); } catch (final SQLException e) { handleException(e); throw new AssertionError(); } }
Example #7
Source File: SnowflakeDatabaseMetaData.java From snowflake-jdbc with Apache License 2.0 | 5 votes |
@Override public RowIdLifetime getRowIdLifetime() throws SQLException { logger.debug("public RowIdLifetime getRowIdLifetime()"); throw new SQLFeatureNotSupportedException(); }
Example #8
Source File: MockDatabaseMetaData.java From ApprovalTests.Java with Apache License 2.0 | 4 votes |
public RowIdLifetime getRowIdLifetime() throws SQLException { // TODO Auto-generated method stub return null; }
Example #9
Source File: BlurDatabaseMetaData.java From incubator-retired-blur with Apache License 2.0 | 4 votes |
@Override public RowIdLifetime getRowIdLifetime() throws SQLException { return RowIdLifetime.ROWID_UNSUPPORTED; }
Example #10
Source File: EmbedDatabaseMetaData40.java From spliceengine with GNU Affero General Public License v3.0 | 4 votes |
public RowIdLifetime getRowIdLifetime() throws SQLException { return RowIdLifetime.ROWID_UNSUPPORTED; }
Example #11
Source File: LogicalDatabaseMetaData.java From spliceengine with GNU Affero General Public License v3.0 | 4 votes |
@Override public RowIdLifetime getRowIdLifetime() throws SQLException{ return getRealMetaDataObject().getRowIdLifetime(); }
Example #12
Source File: LogicalDatabaseMetaData40.java From spliceengine with GNU Affero General Public License v3.0 | 4 votes |
public RowIdLifetime getRowIdLifetime() throws SQLException { return getRealMetaDataObject().getRowIdLifetime(); }
Example #13
Source File: TesterDatabaseMetaData.java From commons-dbcp with Apache License 2.0 | 4 votes |
@Override public RowIdLifetime getRowIdLifetime() throws SQLException { return null; }
Example #14
Source File: PhoenixDatabaseMetaData.java From phoenix with BSD 3-Clause "New" or "Revised" License | 4 votes |
@Override public RowIdLifetime getRowIdLifetime() throws SQLException { return RowIdLifetime.ROWID_UNSUPPORTED; }
Example #15
Source File: TGroupDatabaseMetaData.java From tddl with Apache License 2.0 | 4 votes |
public RowIdLifetime getRowIdLifetime() throws SQLException { return getDatabaseMetaData().getRowIdLifetime(); }
Example #16
Source File: CsvDatabaseMetaData.java From jdbc-driver-csv with GNU Lesser General Public License v3.0 | 4 votes |
@Override public RowIdLifetime getRowIdLifetime() throws SQLException { return null; }
Example #17
Source File: DatabaseMetaDataWrapper.java From tddl with Apache License 2.0 | 4 votes |
public RowIdLifetime getRowIdLifetime() throws SQLException { return this.targetMetaData.getRowIdLifetime(); }
Example #18
Source File: TDatabaseMetaData.java From tddl with Apache License 2.0 | 4 votes |
public RowIdLifetime getRowIdLifetime() throws SQLException { throw new SQLException("not support exception"); }
Example #19
Source File: DatabaseMetaDataImpl.java From ByteJTA with GNU Lesser General Public License v3.0 | 4 votes |
public RowIdLifetime getRowIdLifetime() throws SQLException { return delegate.getRowIdLifetime(); }
Example #20
Source File: DatabaseMetaData.java From nextreports-server with Apache License 2.0 | 4 votes |
@Override public RowIdLifetime getRowIdLifetime() throws SQLException { throw new NotImplementedException(); }
Example #21
Source File: PhoenixDatabaseMetaData.java From phoenix with Apache License 2.0 | 4 votes |
@Override public RowIdLifetime getRowIdLifetime() throws SQLException { return RowIdLifetime.ROWID_UNSUPPORTED; }
Example #22
Source File: JdbcDatabaseMetadata.java From ignite with Apache License 2.0 | 4 votes |
/** {@inheritDoc} */ @Override public RowIdLifetime getRowIdLifetime() { return ROWID_UNSUPPORTED; }
Example #23
Source File: JdbcThinDatabaseMetadata.java From ignite with Apache License 2.0 | 4 votes |
/** {@inheritDoc} */ @Override public RowIdLifetime getRowIdLifetime() throws SQLException { return ROWID_UNSUPPORTED; }
Example #24
Source File: JdbcDatabaseMetadata.java From ignite with Apache License 2.0 | 4 votes |
/** {@inheritDoc} */ @Override public RowIdLifetime getRowIdLifetime() throws SQLException { return ROWID_UNSUPPORTED; }
Example #25
Source File: TGroupDatabaseMetaData.java From tddl5 with Apache License 2.0 | 4 votes |
public RowIdLifetime getRowIdLifetime() throws SQLException { return getDatabaseMetaData().getRowIdLifetime(); }
Example #26
Source File: TDatabaseMetaData.java From tddl5 with Apache License 2.0 | 4 votes |
public RowIdLifetime getRowIdLifetime() throws SQLException { return null; }
Example #27
Source File: DatabaseMetaDataWrapper.java From tddl5 with Apache License 2.0 | 4 votes |
public RowIdLifetime getRowIdLifetime() throws SQLException { return this.targetMetaData.getRowIdLifetime(); }
Example #28
Source File: EmbedDatabaseMetaData.java From gemfirexd-oss with Apache License 2.0 | 4 votes |
public RowIdLifetime getRowIdLifetime() throws SQLException { throw new AssertionError("only expected to be called in JDBC 4.0"); }
Example #29
Source File: EmbedDatabaseMetaData40.java From gemfirexd-oss with Apache License 2.0 | 4 votes |
public RowIdLifetime getRowIdLifetime() throws SQLException { return RowIdLifetime.ROWID_UNSUPPORTED; }
Example #30
Source File: JDBCDatabaseMetaData.java From sql-layer with GNU Affero General Public License v3.0 | 4 votes |
@Override public RowIdLifetime getRowIdLifetime() throws SQLException { throw new SQLFeatureNotSupportedException(); }