You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2016/02/08 22:56:49 UTC
svn commit: r1729274 [2/7] - in /commons/proper/dbcp/trunk/src:
main/java/org/apache/commons/dbcp2/
main/java/org/apache/commons/dbcp2/cpdsadapter/
main/java/org/apache/commons/dbcp2/datasources/
main/java/org/apache/commons/dbcp2/managed/ test/java/or...
Modified: commons/proper/dbcp/trunk/src/main/java/org/apache/commons/dbcp2/DelegatingConnection.java
URL: http://svn.apache.org/viewvc/commons/proper/dbcp/trunk/src/main/java/org/apache/commons/dbcp2/DelegatingConnection.java?rev=1729274&r1=1729273&r2=1729274&view=diff
==============================================================================
--- commons/proper/dbcp/trunk/src/main/java/org/apache/commons/dbcp2/DelegatingConnection.java (original)
+++ commons/proper/dbcp/trunk/src/main/java/org/apache/commons/dbcp2/DelegatingConnection.java Mon Feb 8 21:56:48 2016
@@ -101,16 +101,16 @@ public class DelegatingConnection<C exte
public String toString() {
String s = null;
- Connection c = this.getInnermostDelegateInternal();
+ final Connection c = this.getInnermostDelegateInternal();
if (c != null) {
try {
if (c.isClosed()) {
s = "connection is closed";
}
else {
- StringBuffer sb = new StringBuffer();
+ final StringBuffer sb = new StringBuffer();
sb.append(hashCode());
- DatabaseMetaData meta = c.getMetaData();
+ final DatabaseMetaData meta = c.getMetaData();
if (meta != null) {
sb.append(", URL=");
sb.append(meta.getURL());
@@ -122,7 +122,7 @@ public class DelegatingConnection<C exte
}
}
}
- catch (SQLException ex) {
+ catch (final SQLException ex) {
// Ignore
}
}
@@ -153,7 +153,7 @@ public class DelegatingConnection<C exte
* @return true if innermost delegate equals <code>c</code>
*/
public boolean innermostDelegateEquals(Connection c) {
- Connection innerCon = getInnermostDelegateInternal();
+ final Connection innerCon = getInnermostDelegateInternal();
if (innerCon == null) {
return c == null;
}
@@ -258,12 +258,12 @@ public class DelegatingConnection<C exte
public Statement createStatement() throws SQLException {
checkOpen();
try {
- DelegatingStatement ds =
+ final DelegatingStatement ds =
new DelegatingStatement(this, _conn.createStatement());
initializeStatement(ds);
return ds;
}
- catch (SQLException e) {
+ catch (final SQLException e) {
handleException(e);
return null;
}
@@ -274,12 +274,12 @@ public class DelegatingConnection<C exte
int resultSetConcurrency) throws SQLException {
checkOpen();
try {
- DelegatingStatement ds = new DelegatingStatement(
+ final DelegatingStatement ds = new DelegatingStatement(
this, _conn.createStatement(resultSetType,resultSetConcurrency));
initializeStatement(ds);
return ds;
}
- catch (SQLException e) {
+ catch (final SQLException e) {
handleException(e);
return null;
}
@@ -289,12 +289,12 @@ public class DelegatingConnection<C exte
public PreparedStatement prepareStatement(String sql) throws SQLException {
checkOpen();
try {
- DelegatingPreparedStatement dps = new DelegatingPreparedStatement(
+ final DelegatingPreparedStatement dps = new DelegatingPreparedStatement(
this, _conn.prepareStatement(sql));
initializeStatement(dps);
return dps;
}
- catch (SQLException e) {
+ catch (final SQLException e) {
handleException(e);
return null;
}
@@ -306,12 +306,12 @@ public class DelegatingConnection<C exte
int resultSetConcurrency) throws SQLException {
checkOpen();
try {
- DelegatingPreparedStatement dps = new DelegatingPreparedStatement(
+ final DelegatingPreparedStatement dps = new DelegatingPreparedStatement(
this, _conn.prepareStatement(sql,resultSetType,resultSetConcurrency));
initializeStatement(dps);
return dps;
}
- catch (SQLException e) {
+ catch (final SQLException e) {
handleException(e);
return null;
}
@@ -321,12 +321,12 @@ public class DelegatingConnection<C exte
public CallableStatement prepareCall(String sql) throws SQLException {
checkOpen();
try {
- DelegatingCallableStatement dcs =
+ final DelegatingCallableStatement dcs =
new DelegatingCallableStatement(this, _conn.prepareCall(sql));
initializeStatement(dcs);
return dcs;
}
- catch (SQLException e) {
+ catch (final SQLException e) {
handleException(e);
return null;
}
@@ -338,12 +338,12 @@ public class DelegatingConnection<C exte
int resultSetConcurrency) throws SQLException {
checkOpen();
try {
- DelegatingCallableStatement dcs = new DelegatingCallableStatement(
+ final DelegatingCallableStatement dcs = new DelegatingCallableStatement(
this, _conn.prepareCall(sql, resultSetType,resultSetConcurrency));
initializeStatement(dcs);
return dcs;
}
- catch (SQLException e) {
+ catch (final SQLException e) {
handleException(e);
return null;
}
@@ -355,7 +355,7 @@ public class DelegatingConnection<C exte
checkOpen();
try {
_conn.clearWarnings();
- } catch (SQLException e) {
+ } catch (final SQLException e) {
handleException(e);
}
}
@@ -366,7 +366,7 @@ public class DelegatingConnection<C exte
checkOpen();
try {
_conn.commit();
- } catch (SQLException e) {
+ } catch (final SQLException e) {
handleException(e);
}
}
@@ -390,7 +390,7 @@ public class DelegatingConnection<C exte
try {
_autoCommitCached = Boolean.valueOf(_conn.getAutoCommit());
return _autoCommitCached.booleanValue();
- } catch (SQLException e) {
+ } catch (final SQLException e) {
handleException(e);
return false;
}
@@ -402,7 +402,7 @@ public class DelegatingConnection<C exte
checkOpen();
try {
return _conn.getCatalog();
- } catch (SQLException e) {
+ } catch (final SQLException e) {
handleException(e);
return null;
}
@@ -414,7 +414,7 @@ public class DelegatingConnection<C exte
checkOpen();
try {
return new DelegatingDatabaseMetaData(this, _conn.getMetaData());
- } catch (SQLException e) {
+ } catch (final SQLException e) {
handleException(e);
return null;
}
@@ -426,7 +426,7 @@ public class DelegatingConnection<C exte
checkOpen();
try {
return _conn.getTransactionIsolation();
- } catch (SQLException e) {
+ } catch (final SQLException e) {
handleException(e);
return -1;
}
@@ -438,7 +438,7 @@ public class DelegatingConnection<C exte
checkOpen();
try {
return _conn.getTypeMap();
- } catch (SQLException e) {
+ } catch (final SQLException e) {
handleException(e);
return null;
}
@@ -450,7 +450,7 @@ public class DelegatingConnection<C exte
checkOpen();
try {
return _conn.getWarnings();
- } catch (SQLException e) {
+ } catch (final SQLException e) {
handleException(e);
return null;
}
@@ -466,7 +466,7 @@ public class DelegatingConnection<C exte
try {
_readOnlyCached = Boolean.valueOf(_conn.isReadOnly());
return _readOnlyCached.booleanValue();
- } catch (SQLException e) {
+ } catch (final SQLException e) {
handleException(e);
return false;
}
@@ -478,7 +478,7 @@ public class DelegatingConnection<C exte
checkOpen();
try {
return _conn.nativeSQL(sql);
- } catch (SQLException e) {
+ } catch (final SQLException e) {
handleException(e);
return null;
}
@@ -490,7 +490,7 @@ public class DelegatingConnection<C exte
checkOpen();
try {
_conn.rollback();
- } catch (SQLException e) {
+ } catch (final SQLException e) {
handleException(e);
}
}
@@ -545,7 +545,7 @@ public class DelegatingConnection<C exte
if (_cacheState) {
_autoCommitCached = Boolean.valueOf(autoCommit);
}
- } catch (SQLException e) {
+ } catch (final SQLException e) {
_autoCommitCached = null;
handleException(e);
}
@@ -553,7 +553,7 @@ public class DelegatingConnection<C exte
@Override
public void setCatalog(String catalog) throws SQLException
- { checkOpen(); try { _conn.setCatalog(catalog); } catch (SQLException e) { handleException(e); } }
+ { checkOpen(); try { _conn.setCatalog(catalog); } catch (final SQLException e) { handleException(e); } }
@Override
public void setReadOnly(boolean readOnly) throws SQLException {
@@ -563,7 +563,7 @@ public class DelegatingConnection<C exte
if (_cacheState) {
_readOnlyCached = Boolean.valueOf(readOnly);
}
- } catch (SQLException e) {
+ } catch (final SQLException e) {
_readOnlyCached = null;
handleException(e);
}
@@ -575,7 +575,7 @@ public class DelegatingConnection<C exte
checkOpen();
try {
_conn.setTransactionIsolation(level);
- } catch (SQLException e) {
+ } catch (final SQLException e) {
handleException(e);
}
}
@@ -586,7 +586,7 @@ public class DelegatingConnection<C exte
checkOpen();
try {
_conn.setTypeMap(map);
- } catch (SQLException e) {
+ } catch (final SQLException e) {
handleException(e);
}
}
@@ -603,7 +603,7 @@ public class DelegatingConnection<C exte
String label = "";
try {
label = _conn.toString();
- } catch (Exception ex) {
+ } catch (final Exception ex) {
// ignore, leave label empty
}
throw new SQLException
@@ -626,11 +626,11 @@ public class DelegatingConnection<C exte
// The JDBC spec requires that a Connection close any open
// Statement's when it is closed.
// DBCP-288. Not all the traced objects will be statements
- List<AbandonedTrace> traces = getTrace();
+ final List<AbandonedTrace> traces = getTrace();
if(traces != null && traces.size() > 0) {
- Iterator<AbandonedTrace> traceIter = traces.iterator();
+ final Iterator<AbandonedTrace> traceIter = traces.iterator();
while (traceIter.hasNext()) {
- Object trace = traceIter.next();
+ final Object trace = traceIter.next();
if (trace instanceof Statement) {
((Statement) trace).close();
} else if (trace instanceof ResultSet) {
@@ -650,7 +650,7 @@ public class DelegatingConnection<C exte
checkOpen();
try {
return _conn.getHoldability();
- } catch (SQLException e) {
+ } catch (final SQLException e) {
handleException(e);
return 0;
}
@@ -662,7 +662,7 @@ public class DelegatingConnection<C exte
checkOpen();
try {
_conn.setHoldability(holdability);
- } catch (SQLException e) {
+ } catch (final SQLException e) {
handleException(e);
}
}
@@ -673,7 +673,7 @@ public class DelegatingConnection<C exte
checkOpen();
try {
return _conn.setSavepoint();
- } catch (SQLException e) {
+ } catch (final SQLException e) {
handleException(e);
return null;
}
@@ -685,7 +685,7 @@ public class DelegatingConnection<C exte
checkOpen();
try {
return _conn.setSavepoint(name);
- } catch (SQLException e) {
+ } catch (final SQLException e) {
handleException(e);
return null;
}
@@ -697,7 +697,7 @@ public class DelegatingConnection<C exte
checkOpen();
try {
_conn.rollback(savepoint);
- } catch (SQLException e) {
+ } catch (final SQLException e) {
handleException(e);
}
}
@@ -709,7 +709,7 @@ public class DelegatingConnection<C exte
checkOpen();
try {
_conn.releaseSavepoint(savepoint);
- } catch (SQLException e) {
+ } catch (final SQLException e) {
handleException(e);
}
}
@@ -721,13 +721,13 @@ public class DelegatingConnection<C exte
int resultSetHoldability) throws SQLException {
checkOpen();
try {
- DelegatingStatement ds = new DelegatingStatement(this,
+ final DelegatingStatement ds = new DelegatingStatement(this,
_conn.createStatement(resultSetType, resultSetConcurrency,
resultSetHoldability));
initializeStatement(ds);
return ds;
}
- catch (SQLException e) {
+ catch (final SQLException e) {
handleException(e);
return null;
}
@@ -739,13 +739,13 @@ public class DelegatingConnection<C exte
int resultSetHoldability) throws SQLException {
checkOpen();
try {
- DelegatingPreparedStatement dps = new DelegatingPreparedStatement(
+ final DelegatingPreparedStatement dps = new DelegatingPreparedStatement(
this, _conn.prepareStatement(sql, resultSetType,
resultSetConcurrency, resultSetHoldability));
initializeStatement(dps);
return dps;
}
- catch (SQLException e) {
+ catch (final SQLException e) {
handleException(e);
return null;
}
@@ -757,13 +757,13 @@ public class DelegatingConnection<C exte
int resultSetHoldability) throws SQLException {
checkOpen();
try {
- DelegatingCallableStatement dcs = new DelegatingCallableStatement(
+ final DelegatingCallableStatement dcs = new DelegatingCallableStatement(
this, _conn.prepareCall(sql, resultSetType,
resultSetConcurrency, resultSetHoldability));
initializeStatement(dcs);
return dcs;
}
- catch (SQLException e) {
+ catch (final SQLException e) {
handleException(e);
return null;
}
@@ -773,12 +773,12 @@ public class DelegatingConnection<C exte
public PreparedStatement prepareStatement(String sql, int autoGeneratedKeys) throws SQLException {
checkOpen();
try {
- DelegatingPreparedStatement dps = new DelegatingPreparedStatement(
+ final DelegatingPreparedStatement dps = new DelegatingPreparedStatement(
this, _conn.prepareStatement(sql, autoGeneratedKeys));
initializeStatement(dps);
return dps;
}
- catch (SQLException e) {
+ catch (final SQLException e) {
handleException(e);
return null;
}
@@ -788,12 +788,12 @@ public class DelegatingConnection<C exte
public PreparedStatement prepareStatement(String sql, int columnIndexes[]) throws SQLException {
checkOpen();
try {
- DelegatingPreparedStatement dps = new DelegatingPreparedStatement(
+ final DelegatingPreparedStatement dps = new DelegatingPreparedStatement(
this, _conn.prepareStatement(sql, columnIndexes));
initializeStatement(dps);
return dps;
}
- catch (SQLException e) {
+ catch (final SQLException e) {
handleException(e);
return null;
}
@@ -803,12 +803,12 @@ public class DelegatingConnection<C exte
public PreparedStatement prepareStatement(String sql, String columnNames[]) throws SQLException {
checkOpen();
try {
- DelegatingPreparedStatement dps = new DelegatingPreparedStatement(
+ final DelegatingPreparedStatement dps = new DelegatingPreparedStatement(
this, _conn.prepareStatement(sql, columnNames));
initializeStatement(dps);
return dps;
}
- catch (SQLException e) {
+ catch (final SQLException e) {
handleException(e);
return null;
}
@@ -843,7 +843,7 @@ public class DelegatingConnection<C exte
try {
return _conn.createArrayOf(typeName, elements);
}
- catch (SQLException e) {
+ catch (final SQLException e) {
handleException(e);
return null;
}
@@ -855,7 +855,7 @@ public class DelegatingConnection<C exte
try {
return _conn.createBlob();
}
- catch (SQLException e) {
+ catch (final SQLException e) {
handleException(e);
return null;
}
@@ -867,7 +867,7 @@ public class DelegatingConnection<C exte
try {
return _conn.createClob();
}
- catch (SQLException e) {
+ catch (final SQLException e) {
handleException(e);
return null;
}
@@ -879,7 +879,7 @@ public class DelegatingConnection<C exte
try {
return _conn.createNClob();
}
- catch (SQLException e) {
+ catch (final SQLException e) {
handleException(e);
return null;
}
@@ -891,7 +891,7 @@ public class DelegatingConnection<C exte
try {
return _conn.createSQLXML();
}
- catch (SQLException e) {
+ catch (final SQLException e) {
handleException(e);
return null;
}
@@ -903,7 +903,7 @@ public class DelegatingConnection<C exte
try {
return _conn.createStruct(typeName, attributes);
}
- catch (SQLException e) {
+ catch (final SQLException e) {
handleException(e);
return null;
}
@@ -917,7 +917,7 @@ public class DelegatingConnection<C exte
try {
return _conn.isValid(timeout);
}
- catch (SQLException e) {
+ catch (final SQLException e) {
handleException(e);
return false;
}
@@ -929,10 +929,10 @@ public class DelegatingConnection<C exte
checkOpen();
_conn.setClientInfo(name, value);
}
- catch (SQLClientInfoException e) {
+ catch (final SQLClientInfoException e) {
throw e;
}
- catch (SQLException e) {
+ catch (final SQLException e) {
throw new SQLClientInfoException("Connection is closed.", EMPTY_FAILED_PROPERTIES, e);
}
}
@@ -943,10 +943,10 @@ public class DelegatingConnection<C exte
checkOpen();
_conn.setClientInfo(properties);
}
- catch (SQLClientInfoException e) {
+ catch (final SQLClientInfoException e) {
throw e;
}
- catch (SQLException e) {
+ catch (final SQLException e) {
throw new SQLClientInfoException("Connection is closed.", EMPTY_FAILED_PROPERTIES, e);
}
}
@@ -957,7 +957,7 @@ public class DelegatingConnection<C exte
try {
return _conn.getClientInfo();
}
- catch (SQLException e) {
+ catch (final SQLException e) {
handleException(e);
return null;
}
@@ -969,7 +969,7 @@ public class DelegatingConnection<C exte
try {
return _conn.getClientInfo(name);
}
- catch (SQLException e) {
+ catch (final SQLException e) {
handleException(e);
return null;
}
@@ -981,7 +981,7 @@ public class DelegatingConnection<C exte
try {
_conn.setSchema(schema);
}
- catch (SQLException e) {
+ catch (final SQLException e) {
handleException(e);
}
}
@@ -992,7 +992,7 @@ public class DelegatingConnection<C exte
try {
return _conn.getSchema();
}
- catch (SQLException e) {
+ catch (final SQLException e) {
handleException(e);
return null;
}
@@ -1004,7 +1004,7 @@ public class DelegatingConnection<C exte
try {
_conn.abort(executor);
}
- catch (SQLException e) {
+ catch (final SQLException e) {
handleException(e);
}
}
@@ -1016,7 +1016,7 @@ public class DelegatingConnection<C exte
try {
_conn.setNetworkTimeout(executor, milliseconds);
}
- catch (SQLException e) {
+ catch (final SQLException e) {
handleException(e);
}
}
@@ -1027,7 +1027,7 @@ public class DelegatingConnection<C exte
try {
return _conn.getNetworkTimeout();
}
- catch (SQLException e) {
+ catch (final SQLException e) {
handleException(e);
return 0;
}
Modified: commons/proper/dbcp/trunk/src/main/java/org/apache/commons/dbcp2/DelegatingDatabaseMetaData.java
URL: http://svn.apache.org/viewvc/commons/proper/dbcp/trunk/src/main/java/org/apache/commons/dbcp2/DelegatingDatabaseMetaData.java?rev=1729274&r1=1729273&r2=1729274&view=diff
==============================================================================
--- commons/proper/dbcp/trunk/src/main/java/org/apache/commons/dbcp2/DelegatingDatabaseMetaData.java (original)
+++ commons/proper/dbcp/trunk/src/main/java/org/apache/commons/dbcp2/DelegatingDatabaseMetaData.java Mon Feb 8 21:56:48 2016
@@ -89,37 +89,37 @@ public class DelegatingDatabaseMetaData
@Override
public boolean allProceduresAreCallable() throws SQLException {
try { return _meta.allProceduresAreCallable(); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
public boolean allTablesAreSelectable() throws SQLException {
try { return _meta.allTablesAreSelectable(); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
public boolean dataDefinitionCausesTransactionCommit() throws SQLException {
try { return _meta.dataDefinitionCausesTransactionCommit(); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
public boolean dataDefinitionIgnoredInTransactions() throws SQLException {
try { return _meta.dataDefinitionIgnoredInTransactions(); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
public boolean deletesAreDetected(int type) throws SQLException {
try { return _meta.deletesAreDetected(type); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
public boolean doesMaxRowSizeIncludeBlobs() throws SQLException {
try { return _meta.doesMaxRowSizeIncludeBlobs(); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
@@ -132,7 +132,7 @@ public class DelegatingDatabaseMetaData
catalog, schemaPattern, typeNamePattern,
attributeNamePattern));
}
- catch (SQLException e) {
+ catch (final SQLException e) {
handleException(e);
throw new AssertionError();
}
@@ -147,7 +147,7 @@ public class DelegatingDatabaseMetaData
_meta.getBestRowIdentifier(catalog, schema, table, scope,
nullable));
}
- catch (SQLException e) {
+ catch (final SQLException e) {
handleException(e);
throw new AssertionError();
}
@@ -156,13 +156,13 @@ public class DelegatingDatabaseMetaData
@Override
public String getCatalogSeparator() throws SQLException {
try { return _meta.getCatalogSeparator(); }
- catch (SQLException e) { handleException(e); throw new AssertionError(); }
+ catch (final SQLException e) { handleException(e); throw new AssertionError(); }
}
@Override
public String getCatalogTerm() throws SQLException {
try { return _meta.getCatalogTerm(); }
- catch (SQLException e) { handleException(e); throw new AssertionError(); }
+ catch (final SQLException e) { handleException(e); throw new AssertionError(); }
}
@Override
@@ -172,7 +172,7 @@ public class DelegatingDatabaseMetaData
return DelegatingResultSet.wrapResultSet(_conn,
_meta.getCatalogs());
}
- catch (SQLException e) {
+ catch (final SQLException e) {
handleException(e);
throw new AssertionError();
}
@@ -187,7 +187,7 @@ public class DelegatingDatabaseMetaData
_meta.getColumnPrivileges(catalog, schema, table,
columnNamePattern));
}
- catch (SQLException e) {
+ catch (final SQLException e) {
handleException(e);
throw new AssertionError();
}
@@ -203,7 +203,7 @@ public class DelegatingDatabaseMetaData
_meta.getColumns(catalog, schemaPattern, tableNamePattern,
columnNamePattern));
}
- catch (SQLException e) {
+ catch (final SQLException e) {
handleException(e);
throw new AssertionError();
}
@@ -225,7 +225,7 @@ public class DelegatingDatabaseMetaData
parentTable, foreignCatalog, foreignSchema,
foreignTable));
}
- catch (SQLException e) {
+ catch (final SQLException e) {
handleException(e);
throw new AssertionError();
}
@@ -234,31 +234,31 @@ public class DelegatingDatabaseMetaData
@Override
public int getDatabaseMajorVersion() throws SQLException {
try { return _meta.getDatabaseMajorVersion(); }
- catch (SQLException e) { handleException(e); return 0; }
+ catch (final SQLException e) { handleException(e); return 0; }
}
@Override
public int getDatabaseMinorVersion() throws SQLException {
try { return _meta.getDatabaseMinorVersion(); }
- catch (SQLException e) { handleException(e); return 0; }
+ catch (final SQLException e) { handleException(e); return 0; }
}
@Override
public String getDatabaseProductName() throws SQLException {
try { return _meta.getDatabaseProductName(); }
- catch (SQLException e) { handleException(e); throw new AssertionError(); }
+ catch (final SQLException e) { handleException(e); throw new AssertionError(); }
}
@Override
public String getDatabaseProductVersion() throws SQLException {
try { return _meta.getDatabaseProductVersion(); }
- catch (SQLException e) { handleException(e); throw new AssertionError(); }
+ catch (final SQLException e) { handleException(e); throw new AssertionError(); }
}
@Override
public int getDefaultTransactionIsolation() throws SQLException {
try { return _meta.getDefaultTransactionIsolation(); }
- catch (SQLException e) { handleException(e); return 0; }
+ catch (final SQLException e) { handleException(e); return 0; }
}
@Override
@@ -270,13 +270,13 @@ public class DelegatingDatabaseMetaData
@Override
public String getDriverName() throws SQLException {
try { return _meta.getDriverName(); }
- catch (SQLException e) { handleException(e); throw new AssertionError(); }
+ catch (final SQLException e) { handleException(e); throw new AssertionError(); }
}
@Override
public String getDriverVersion() throws SQLException {
try { return _meta.getDriverVersion(); }
- catch (SQLException e) { handleException(e); throw new AssertionError(); }
+ catch (final SQLException e) { handleException(e); throw new AssertionError(); }
}
@Override
@@ -287,7 +287,7 @@ public class DelegatingDatabaseMetaData
return DelegatingResultSet.wrapResultSet(_conn,
_meta.getExportedKeys(catalog, schema, table));
}
- catch (SQLException e) {
+ catch (final SQLException e) {
handleException(e);
throw new AssertionError();
}
@@ -296,13 +296,13 @@ public class DelegatingDatabaseMetaData
@Override
public String getExtraNameCharacters() throws SQLException {
try { return _meta.getExtraNameCharacters(); }
- catch (SQLException e) { handleException(e); throw new AssertionError(); }
+ catch (final SQLException e) { handleException(e); throw new AssertionError(); }
}
@Override
public String getIdentifierQuoteString() throws SQLException {
try { return _meta.getIdentifierQuoteString(); }
- catch (SQLException e) { handleException(e); throw new AssertionError(); }
+ catch (final SQLException e) { handleException(e); throw new AssertionError(); }
}
@Override
@@ -313,7 +313,7 @@ public class DelegatingDatabaseMetaData
return DelegatingResultSet.wrapResultSet(_conn,
_meta.getImportedKeys(catalog, schema, table));
}
- catch (SQLException e) {
+ catch (final SQLException e) {
handleException(e);
throw new AssertionError();
}
@@ -328,7 +328,7 @@ public class DelegatingDatabaseMetaData
_meta.getIndexInfo(catalog, schema, table, unique,
approximate));
}
- catch (SQLException e) {
+ catch (final SQLException e) {
handleException(e);
throw new AssertionError();
}
@@ -337,139 +337,139 @@ public class DelegatingDatabaseMetaData
@Override
public int getJDBCMajorVersion() throws SQLException {
try { return _meta.getJDBCMajorVersion(); }
- catch (SQLException e) { handleException(e); return 0; }
+ catch (final SQLException e) { handleException(e); return 0; }
}
@Override
public int getJDBCMinorVersion() throws SQLException {
try { return _meta.getJDBCMinorVersion(); }
- catch (SQLException e) { handleException(e); return 0; }
+ catch (final SQLException e) { handleException(e); return 0; }
}
@Override
public int getMaxBinaryLiteralLength() throws SQLException {
try { return _meta.getMaxBinaryLiteralLength(); }
- catch (SQLException e) { handleException(e); return 0; }
+ catch (final SQLException e) { handleException(e); return 0; }
}
@Override
public int getMaxCatalogNameLength() throws SQLException {
try { return _meta.getMaxCatalogNameLength(); }
- catch (SQLException e) { handleException(e); return 0; }
+ catch (final SQLException e) { handleException(e); return 0; }
}
@Override
public int getMaxCharLiteralLength() throws SQLException {
try { return _meta.getMaxCharLiteralLength(); }
- catch (SQLException e) { handleException(e); return 0; }
+ catch (final SQLException e) { handleException(e); return 0; }
}
@Override
public int getMaxColumnNameLength() throws SQLException {
try { return _meta.getMaxColumnNameLength(); }
- catch (SQLException e) { handleException(e); return 0; }
+ catch (final SQLException e) { handleException(e); return 0; }
}
@Override
public int getMaxColumnsInGroupBy() throws SQLException {
try { return _meta.getMaxColumnsInGroupBy(); }
- catch (SQLException e) { handleException(e); return 0; }
+ catch (final SQLException e) { handleException(e); return 0; }
}
@Override
public int getMaxColumnsInIndex() throws SQLException {
try { return _meta.getMaxColumnsInIndex(); }
- catch (SQLException e) { handleException(e); return 0; }
+ catch (final SQLException e) { handleException(e); return 0; }
}
@Override
public int getMaxColumnsInOrderBy() throws SQLException {
try { return _meta.getMaxColumnsInOrderBy(); }
- catch (SQLException e) { handleException(e); return 0; }
+ catch (final SQLException e) { handleException(e); return 0; }
}
@Override
public int getMaxColumnsInSelect() throws SQLException {
try { return _meta.getMaxColumnsInSelect(); }
- catch (SQLException e) { handleException(e); return 0; }
+ catch (final SQLException e) { handleException(e); return 0; }
}
@Override
public int getMaxColumnsInTable() throws SQLException {
try { return _meta.getMaxColumnsInTable(); }
- catch (SQLException e) { handleException(e); return 0; }
+ catch (final SQLException e) { handleException(e); return 0; }
}
@Override
public int getMaxConnections() throws SQLException {
try { return _meta.getMaxConnections(); }
- catch (SQLException e) { handleException(e); return 0; }
+ catch (final SQLException e) { handleException(e); return 0; }
}
@Override
public int getMaxCursorNameLength() throws SQLException {
try { return _meta.getMaxCursorNameLength(); }
- catch (SQLException e) { handleException(e); return 0; }
+ catch (final SQLException e) { handleException(e); return 0; }
}
@Override
public int getMaxIndexLength() throws SQLException {
try { return _meta.getMaxIndexLength(); }
- catch (SQLException e) { handleException(e); return 0; }
+ catch (final SQLException e) { handleException(e); return 0; }
}
@Override
public int getMaxProcedureNameLength() throws SQLException {
try { return _meta.getMaxProcedureNameLength(); }
- catch (SQLException e) { handleException(e); return 0; }
+ catch (final SQLException e) { handleException(e); return 0; }
}
@Override
public int getMaxRowSize() throws SQLException {
try { return _meta.getMaxRowSize(); }
- catch (SQLException e) { handleException(e); return 0; }
+ catch (final SQLException e) { handleException(e); return 0; }
}
@Override
public int getMaxSchemaNameLength() throws SQLException {
try { return _meta.getMaxSchemaNameLength(); }
- catch (SQLException e) { handleException(e); return 0; }
+ catch (final SQLException e) { handleException(e); return 0; }
}
@Override
public int getMaxStatementLength() throws SQLException {
try { return _meta.getMaxStatementLength(); }
- catch (SQLException e) { handleException(e); return 0; }
+ catch (final SQLException e) { handleException(e); return 0; }
}
@Override
public int getMaxStatements() throws SQLException {
try { return _meta.getMaxStatements(); }
- catch (SQLException e) { handleException(e); return 0; }
+ catch (final SQLException e) { handleException(e); return 0; }
}
@Override
public int getMaxTableNameLength() throws SQLException {
try { return _meta.getMaxTableNameLength(); }
- catch (SQLException e) { handleException(e); return 0; }
+ catch (final SQLException e) { handleException(e); return 0; }
}
@Override
public int getMaxTablesInSelect() throws SQLException {
try { return _meta.getMaxTablesInSelect(); }
- catch (SQLException e) { handleException(e); return 0; }
+ catch (final SQLException e) { handleException(e); return 0; }
}
@Override
public int getMaxUserNameLength() throws SQLException {
try { return _meta.getMaxUserNameLength(); }
- catch (SQLException e) { handleException(e); return 0; }
+ catch (final SQLException e) { handleException(e); return 0; }
}
@Override
public String getNumericFunctions() throws SQLException {
try { return _meta.getNumericFunctions(); }
- catch (SQLException e) { handleException(e); throw new AssertionError(); }
+ catch (final SQLException e) { handleException(e); throw new AssertionError(); }
}
@Override
@@ -480,7 +480,7 @@ public class DelegatingDatabaseMetaData
return DelegatingResultSet.wrapResultSet(_conn,
_meta.getPrimaryKeys(catalog, schema, table));
}
- catch (SQLException e) {
+ catch (final SQLException e) {
handleException(e);
throw new AssertionError();
}
@@ -496,7 +496,7 @@ public class DelegatingDatabaseMetaData
_meta.getProcedureColumns(catalog, schemaPattern,
procedureNamePattern, columnNamePattern));
}
- catch (SQLException e) {
+ catch (final SQLException e) {
handleException(e);
throw new AssertionError();
}
@@ -505,7 +505,7 @@ public class DelegatingDatabaseMetaData
@Override
public String getProcedureTerm() throws SQLException {
try { return _meta.getProcedureTerm(); }
- catch (SQLException e) { handleException(e); throw new AssertionError(); }
+ catch (final SQLException e) { handleException(e); throw new AssertionError(); }
}
@Override
@@ -517,7 +517,7 @@ public class DelegatingDatabaseMetaData
_meta.getProcedures(catalog, schemaPattern,
procedureNamePattern));
}
- catch (SQLException e) {
+ catch (final SQLException e) {
handleException(e);
throw new AssertionError();
}
@@ -526,25 +526,25 @@ public class DelegatingDatabaseMetaData
@Override
public int getResultSetHoldability() throws SQLException {
try { return _meta.getResultSetHoldability(); }
- catch (SQLException e) { handleException(e); return 0; }
+ catch (final SQLException e) { handleException(e); return 0; }
}
@Override
public String getSQLKeywords() throws SQLException {
try { return _meta.getSQLKeywords(); }
- catch (SQLException e) { handleException(e); throw new AssertionError(); }
+ catch (final SQLException e) { handleException(e); throw new AssertionError(); }
}
@Override
public int getSQLStateType() throws SQLException {
try { return _meta.getSQLStateType(); }
- catch (SQLException e) { handleException(e); return 0; }
+ catch (final SQLException e) { handleException(e); return 0; }
}
@Override
public String getSchemaTerm() throws SQLException {
try { return _meta.getSchemaTerm(); }
- catch (SQLException e) { handleException(e); throw new AssertionError(); }
+ catch (final SQLException e) { handleException(e); throw new AssertionError(); }
}
@Override
@@ -554,7 +554,7 @@ public class DelegatingDatabaseMetaData
return DelegatingResultSet.wrapResultSet(_conn,
_meta.getSchemas());
}
- catch (SQLException e) {
+ catch (final SQLException e) {
handleException(e);
throw new AssertionError();
}
@@ -563,13 +563,13 @@ public class DelegatingDatabaseMetaData
@Override
public String getSearchStringEscape() throws SQLException {
try { return _meta.getSearchStringEscape(); }
- catch (SQLException e) { handleException(e); throw new AssertionError(); }
+ catch (final SQLException e) { handleException(e); throw new AssertionError(); }
}
@Override
public String getStringFunctions() throws SQLException {
try { return _meta.getStringFunctions(); }
- catch (SQLException e) { handleException(e); throw new AssertionError(); }
+ catch (final SQLException e) { handleException(e); throw new AssertionError(); }
}
@Override
@@ -581,7 +581,7 @@ public class DelegatingDatabaseMetaData
_meta.getSuperTables(catalog, schemaPattern,
tableNamePattern));
}
- catch (SQLException e) {
+ catch (final SQLException e) {
handleException(e);
throw new AssertionError();
}
@@ -596,7 +596,7 @@ public class DelegatingDatabaseMetaData
_meta.getSuperTypes(catalog, schemaPattern,
typeNamePattern));
}
- catch (SQLException e) {
+ catch (final SQLException e) {
handleException(e);
throw new AssertionError();
}
@@ -605,7 +605,7 @@ public class DelegatingDatabaseMetaData
@Override
public String getSystemFunctions() throws SQLException {
try { return _meta.getSystemFunctions(); }
- catch (SQLException e) { handleException(e); throw new AssertionError(); }
+ catch (final SQLException e) { handleException(e); throw new AssertionError(); }
}
@Override
@@ -617,7 +617,7 @@ public class DelegatingDatabaseMetaData
_meta.getTablePrivileges(catalog, schemaPattern,
tableNamePattern));
}
- catch (SQLException e) {
+ catch (final SQLException e) {
handleException(e);
throw new AssertionError();
}
@@ -630,7 +630,7 @@ public class DelegatingDatabaseMetaData
return DelegatingResultSet.wrapResultSet(_conn,
_meta.getTableTypes());
}
- catch (SQLException e) {
+ catch (final SQLException e) {
handleException(e);
throw new AssertionError();
}
@@ -645,7 +645,7 @@ public class DelegatingDatabaseMetaData
_meta.getTables(catalog, schemaPattern, tableNamePattern,
types));
}
- catch (SQLException e) {
+ catch (final SQLException e) {
handleException(e);
throw new AssertionError();
}
@@ -654,7 +654,7 @@ public class DelegatingDatabaseMetaData
@Override
public String getTimeDateFunctions() throws SQLException {
try { return _meta.getTimeDateFunctions(); }
- catch (SQLException e) { handleException(e); throw new AssertionError(); }
+ catch (final SQLException e) { handleException(e); throw new AssertionError(); }
}
@Override
@@ -664,7 +664,7 @@ public class DelegatingDatabaseMetaData
return DelegatingResultSet.wrapResultSet(_conn,
_meta.getTypeInfo());
}
- catch (SQLException e) {
+ catch (final SQLException e) {
handleException(e);
throw new AssertionError();
}
@@ -679,7 +679,7 @@ public class DelegatingDatabaseMetaData
_meta.getUDTs(catalog, schemaPattern, typeNamePattern,
types));
}
- catch (SQLException e) {
+ catch (final SQLException e) {
handleException(e);
throw new AssertionError();
}
@@ -688,13 +688,13 @@ public class DelegatingDatabaseMetaData
@Override
public String getURL() throws SQLException {
try { return _meta.getURL(); }
- catch (SQLException e) { handleException(e); throw new AssertionError(); }
+ catch (final SQLException e) { handleException(e); throw new AssertionError(); }
}
@Override
public String getUserName() throws SQLException {
try { return _meta.getUserName(); }
- catch (SQLException e) { handleException(e); throw new AssertionError(); }
+ catch (final SQLException e) { handleException(e); throw new AssertionError(); }
}
@Override
@@ -705,7 +705,7 @@ public class DelegatingDatabaseMetaData
return DelegatingResultSet.wrapResultSet(_conn,
_meta.getVersionColumns(catalog, schema, table));
}
- catch (SQLException e) {
+ catch (final SQLException e) {
handleException(e);
throw new AssertionError();
}
@@ -714,547 +714,547 @@ public class DelegatingDatabaseMetaData
@Override
public boolean insertsAreDetected(int type) throws SQLException {
try { return _meta.insertsAreDetected(type); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
public boolean isCatalogAtStart() throws SQLException {
try { return _meta.isCatalogAtStart(); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
public boolean isReadOnly() throws SQLException {
try { return _meta.isReadOnly(); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
public boolean locatorsUpdateCopy() throws SQLException {
try { return _meta.locatorsUpdateCopy(); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
public boolean nullPlusNonNullIsNull() throws SQLException {
try { return _meta.nullPlusNonNullIsNull(); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
public boolean nullsAreSortedAtEnd() throws SQLException {
try { return _meta.nullsAreSortedAtEnd(); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
public boolean nullsAreSortedAtStart() throws SQLException {
try { return _meta.nullsAreSortedAtStart(); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
public boolean nullsAreSortedHigh() throws SQLException {
try { return _meta.nullsAreSortedHigh(); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
public boolean nullsAreSortedLow() throws SQLException {
try { return _meta.nullsAreSortedLow(); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
public boolean othersDeletesAreVisible(int type) throws SQLException {
try { return _meta.othersDeletesAreVisible(type); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
public boolean othersInsertsAreVisible(int type) throws SQLException {
try { return _meta.othersInsertsAreVisible(type); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
public boolean othersUpdatesAreVisible(int type) throws SQLException {
try { return _meta.othersUpdatesAreVisible(type); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
public boolean ownDeletesAreVisible(int type) throws SQLException {
try { return _meta.ownDeletesAreVisible(type); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
public boolean ownInsertsAreVisible(int type) throws SQLException {
try { return _meta.ownInsertsAreVisible(type); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
public boolean ownUpdatesAreVisible(int type) throws SQLException {
try { return _meta.ownUpdatesAreVisible(type); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
public boolean storesLowerCaseIdentifiers() throws SQLException {
try { return _meta.storesLowerCaseIdentifiers(); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
public boolean storesLowerCaseQuotedIdentifiers() throws SQLException {
try { return _meta.storesLowerCaseQuotedIdentifiers(); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
public boolean storesMixedCaseIdentifiers() throws SQLException {
try { return _meta.storesMixedCaseIdentifiers(); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
public boolean storesMixedCaseQuotedIdentifiers() throws SQLException {
try { return _meta.storesMixedCaseQuotedIdentifiers(); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
public boolean storesUpperCaseIdentifiers() throws SQLException {
try { return _meta.storesUpperCaseIdentifiers(); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
public boolean storesUpperCaseQuotedIdentifiers() throws SQLException {
try { return _meta.storesUpperCaseQuotedIdentifiers(); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
public boolean supportsANSI92EntryLevelSQL() throws SQLException {
try { return _meta.supportsANSI92EntryLevelSQL(); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
public boolean supportsANSI92FullSQL() throws SQLException {
try { return _meta.supportsANSI92FullSQL(); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
public boolean supportsANSI92IntermediateSQL() throws SQLException {
try { return _meta.supportsANSI92IntermediateSQL(); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
public boolean supportsAlterTableWithAddColumn() throws SQLException {
try { return _meta.supportsAlterTableWithAddColumn(); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
public boolean supportsAlterTableWithDropColumn() throws SQLException {
try { return _meta.supportsAlterTableWithDropColumn(); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
public boolean supportsBatchUpdates() throws SQLException {
try { return _meta.supportsBatchUpdates(); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
public boolean supportsCatalogsInDataManipulation() throws SQLException {
try { return _meta.supportsCatalogsInDataManipulation(); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
public boolean supportsCatalogsInIndexDefinitions() throws SQLException {
try { return _meta.supportsCatalogsInIndexDefinitions(); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
public boolean supportsCatalogsInPrivilegeDefinitions() throws SQLException {
try { return _meta.supportsCatalogsInPrivilegeDefinitions(); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
public boolean supportsCatalogsInProcedureCalls() throws SQLException {
try { return _meta.supportsCatalogsInProcedureCalls(); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
public boolean supportsCatalogsInTableDefinitions() throws SQLException {
try { return _meta.supportsCatalogsInTableDefinitions(); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
public boolean supportsColumnAliasing() throws SQLException {
try { return _meta.supportsColumnAliasing(); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
public boolean supportsConvert() throws SQLException {
try { return _meta.supportsConvert(); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
public boolean supportsConvert(int fromType, int toType)
throws SQLException {
try { return _meta.supportsConvert(fromType, toType); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
public boolean supportsCoreSQLGrammar() throws SQLException {
try { return _meta.supportsCoreSQLGrammar(); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
public boolean supportsCorrelatedSubqueries() throws SQLException {
try { return _meta.supportsCorrelatedSubqueries(); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
public boolean supportsDataDefinitionAndDataManipulationTransactions()
throws SQLException {
try { return _meta.supportsDataDefinitionAndDataManipulationTransactions(); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
public boolean supportsDataManipulationTransactionsOnly()
throws SQLException {
try { return _meta.supportsDataManipulationTransactionsOnly(); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
public boolean supportsDifferentTableCorrelationNames() throws SQLException {
try { return _meta.supportsDifferentTableCorrelationNames(); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
public boolean supportsExpressionsInOrderBy() throws SQLException {
try { return _meta.supportsExpressionsInOrderBy(); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
public boolean supportsExtendedSQLGrammar() throws SQLException {
try { return _meta.supportsExtendedSQLGrammar(); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
public boolean supportsFullOuterJoins() throws SQLException {
try { return _meta.supportsFullOuterJoins(); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
public boolean supportsGetGeneratedKeys() throws SQLException {
try { return _meta.supportsGetGeneratedKeys(); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
public boolean supportsGroupBy() throws SQLException {
try { return _meta.supportsGroupBy(); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
public boolean supportsGroupByBeyondSelect() throws SQLException {
try { return _meta.supportsGroupByBeyondSelect(); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
public boolean supportsGroupByUnrelated() throws SQLException {
try { return _meta.supportsGroupByUnrelated(); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
public boolean supportsIntegrityEnhancementFacility() throws SQLException {
try { return _meta.supportsIntegrityEnhancementFacility(); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
public boolean supportsLikeEscapeClause() throws SQLException {
try { return _meta.supportsLikeEscapeClause(); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
public boolean supportsLimitedOuterJoins() throws SQLException {
try { return _meta.supportsLimitedOuterJoins(); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
public boolean supportsMinimumSQLGrammar() throws SQLException {
try { return _meta.supportsMinimumSQLGrammar(); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
public boolean supportsMixedCaseIdentifiers() throws SQLException {
try { return _meta.supportsMixedCaseIdentifiers(); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
public boolean supportsMixedCaseQuotedIdentifiers() throws SQLException {
try { return _meta.supportsMixedCaseQuotedIdentifiers(); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
public boolean supportsMultipleOpenResults() throws SQLException {
try { return _meta.supportsMultipleOpenResults(); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
public boolean supportsMultipleResultSets() throws SQLException {
try { return _meta.supportsMultipleResultSets(); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
public boolean supportsMultipleTransactions() throws SQLException {
try { return _meta.supportsMultipleTransactions(); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
public boolean supportsNamedParameters() throws SQLException {
try { return _meta.supportsNamedParameters(); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
public boolean supportsNonNullableColumns() throws SQLException {
try { return _meta.supportsNonNullableColumns(); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
public boolean supportsOpenCursorsAcrossCommit() throws SQLException {
try { return _meta.supportsOpenCursorsAcrossCommit(); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
public boolean supportsOpenCursorsAcrossRollback() throws SQLException {
try { return _meta.supportsOpenCursorsAcrossRollback(); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
public boolean supportsOpenStatementsAcrossCommit() throws SQLException {
try { return _meta.supportsOpenStatementsAcrossCommit(); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
public boolean supportsOpenStatementsAcrossRollback() throws SQLException {
try { return _meta.supportsOpenStatementsAcrossRollback(); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
public boolean supportsOrderByUnrelated() throws SQLException {
try { return _meta.supportsOrderByUnrelated(); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
public boolean supportsOuterJoins() throws SQLException {
try { return _meta.supportsOuterJoins(); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
public boolean supportsPositionedDelete() throws SQLException {
try { return _meta.supportsPositionedDelete(); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
public boolean supportsPositionedUpdate() throws SQLException {
try { return _meta.supportsPositionedUpdate(); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
public boolean supportsResultSetConcurrency(int type, int concurrency)
throws SQLException {
try { return _meta.supportsResultSetConcurrency(type, concurrency); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
public boolean supportsResultSetHoldability(int holdability)
throws SQLException {
try { return _meta.supportsResultSetHoldability(holdability); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
public boolean supportsResultSetType(int type) throws SQLException {
try { return _meta.supportsResultSetType(type); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
public boolean supportsSavepoints() throws SQLException {
try { return _meta.supportsSavepoints(); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
public boolean supportsSchemasInDataManipulation() throws SQLException {
try { return _meta.supportsSchemasInDataManipulation(); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
public boolean supportsSchemasInIndexDefinitions() throws SQLException {
try { return _meta.supportsSchemasInIndexDefinitions(); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
public boolean supportsSchemasInPrivilegeDefinitions() throws SQLException {
try { return _meta.supportsSchemasInPrivilegeDefinitions(); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
public boolean supportsSchemasInProcedureCalls() throws SQLException {
try { return _meta.supportsSchemasInProcedureCalls(); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
public boolean supportsSchemasInTableDefinitions() throws SQLException {
try { return _meta.supportsSchemasInTableDefinitions(); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
public boolean supportsSelectForUpdate() throws SQLException {
try { return _meta.supportsSelectForUpdate(); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
public boolean supportsStatementPooling() throws SQLException {
try { return _meta.supportsStatementPooling(); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
public boolean supportsStoredProcedures() throws SQLException {
try { return _meta.supportsStoredProcedures(); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
public boolean supportsSubqueriesInComparisons() throws SQLException {
try { return _meta.supportsSubqueriesInComparisons(); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
public boolean supportsSubqueriesInExists() throws SQLException {
try { return _meta.supportsSubqueriesInExists(); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
public boolean supportsSubqueriesInIns() throws SQLException {
try { return _meta.supportsSubqueriesInIns(); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
public boolean supportsSubqueriesInQuantifieds() throws SQLException {
try { return _meta.supportsSubqueriesInQuantifieds(); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
public boolean supportsTableCorrelationNames() throws SQLException {
try { return _meta.supportsTableCorrelationNames(); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
public boolean supportsTransactionIsolationLevel(int level)
throws SQLException {
try { return _meta.supportsTransactionIsolationLevel(level); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
public boolean supportsTransactions() throws SQLException {
try { return _meta.supportsTransactions(); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
public boolean supportsUnion() throws SQLException {
try { return _meta.supportsUnion(); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
public boolean supportsUnionAll() throws SQLException {
try { return _meta.supportsUnionAll(); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
public boolean updatesAreDetected(int type) throws SQLException {
try { return _meta.updatesAreDetected(type); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
public boolean usesLocalFilePerTable() throws SQLException {
try { return _meta.usesLocalFilePerTable(); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
public boolean usesLocalFiles() throws SQLException {
try { return _meta.usesLocalFiles(); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
/* JDBC_4_ANT_KEY_BEGIN */
@@ -1284,7 +1284,7 @@ public class DelegatingDatabaseMetaData
@Override
public RowIdLifetime getRowIdLifetime() throws SQLException {
try { return _meta.getRowIdLifetime(); }
- catch (SQLException e) { handleException(e); throw new AssertionError(); }
+ catch (final SQLException e) { handleException(e); throw new AssertionError(); }
}
@Override
@@ -1295,7 +1295,7 @@ public class DelegatingDatabaseMetaData
return DelegatingResultSet.wrapResultSet(_conn,
_meta.getSchemas(catalog, schemaPattern));
}
- catch (SQLException e) {
+ catch (final SQLException e) {
handleException(e);
throw new AssertionError();
}
@@ -1304,13 +1304,13 @@ public class DelegatingDatabaseMetaData
@Override
public boolean autoCommitFailureClosesAllResultSets() throws SQLException {
try { return _meta.autoCommitFailureClosesAllResultSets(); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
public boolean supportsStoredFunctionsUsingCallSyntax() throws SQLException {
try { return _meta.supportsStoredFunctionsUsingCallSyntax(); }
- catch (SQLException e) { handleException(e); return false; }
+ catch (final SQLException e) { handleException(e); return false; }
}
@Override
@@ -1320,7 +1320,7 @@ public class DelegatingDatabaseMetaData
return DelegatingResultSet.wrapResultSet(_conn,
_meta.getClientInfoProperties());
}
- catch (SQLException e) {
+ catch (final SQLException e) {
handleException(e);
throw new AssertionError();
}
@@ -1335,7 +1335,7 @@ public class DelegatingDatabaseMetaData
_meta.getFunctions(catalog, schemaPattern,
functionNamePattern));
}
- catch (SQLException e) {
+ catch (final SQLException e) {
handleException(e);
throw new AssertionError();
}
@@ -1351,7 +1351,7 @@ public class DelegatingDatabaseMetaData
_meta.getFunctionColumns(catalog, schemaPattern,
functionNamePattern, columnNamePattern));
}
- catch (SQLException e) {
+ catch (final SQLException e) {
handleException(e);
throw new AssertionError();
}
@@ -1369,7 +1369,7 @@ public class DelegatingDatabaseMetaData
_meta.getPseudoColumns(catalog, schemaPattern,
tableNamePattern, columnNamePattern));
}
- catch (SQLException e) {
+ catch (final SQLException e) {
handleException(e);
throw new AssertionError();
}
@@ -1381,7 +1381,7 @@ public class DelegatingDatabaseMetaData
try {
return _meta.generatedKeyAlwaysReturned();
}
- catch (SQLException e) {
+ catch (final SQLException e) {
handleException(e);
return false;
}