protected void handleException(SQLException e) throws SQLException { if (_conn != null) { _conn.handleException(e); } else { throw e; } }
protected void handleException(SQLException e) throws SQLException { if (_conn != null) { _conn.handleException(e); } else { throw e; } }
protected void handleException(SQLException e) throws SQLException { if (_conn != null) { _conn.handleException(e); } else { throw e; } }
public Properties getClientInfo() throws SQLException { checkOpen(); try { return _conn.getClientInfo(); } catch (SQLException e) { handleException(e); return null; } }
protected void handleException(SQLException e) throws SQLException { if ((_stmt != null) && (_stmt instanceof DelegatingStatement)) { ((DelegatingStatement)_stmt).handleException(e); } else if ((_conn != null) && (_conn instanceof DelegatingConnection)) { ((DelegatingConnection)_conn).handleException(e); } else { throw e; } }
public NClob createNClob() throws SQLException { checkOpen(); try { return _conn.createNClob(); } catch (SQLException e) { handleException(e); return null; } }
public NClob createNClob() throws SQLException { checkOpen(); try { return _conn.createNClob(); } catch (SQLException e) { handleException(e); return null; } }
public Array createArrayOf(String typeName, Object[] elements) throws SQLException { checkOpen(); try { return _conn.createArrayOf(typeName, elements); } catch (SQLException e) { handleException(e); return null; } }
public boolean getAutoCommit() throws SQLException { checkOpen(); try { return _conn.getAutoCommit(); } catch (SQLException e) { handleException(e); return false; } } public String getCatalog() throws SQLException
public String getClientInfo(String name) throws SQLException { checkOpen(); try { return _conn.getClientInfo(name); } catch (SQLException e) { handleException(e); return null; } } /* JDBC_4_ANT_KEY_END */
public Statement createStatement() throws SQLException { checkOpen(); try { return new DelegatingStatement(this, _conn.createStatement()); } catch (SQLException e) { handleException(e); return null; } }
public DatabaseMetaData getMetaData() throws SQLException { checkOpen(); try { return new DelegatingDatabaseMetaData(this, _conn.getMetaData()); } catch (SQLException e) { handleException(e); return null; } }
public PreparedStatement prepareStatement(String sql, int autoGeneratedKeys) throws SQLException { checkOpen(); try { return new DelegatingPreparedStatement(this, _conn.prepareStatement( sql, autoGeneratedKeys)); } catch (SQLException e) { handleException(e); return null; } }
public PreparedStatement prepareStatement(String sql, String columnNames[]) throws SQLException { checkOpen(); try { return new DelegatingPreparedStatement(this, _conn.prepareStatement( sql, columnNames)); } catch (SQLException e) { handleException(e); return null; } } /* JDBC_3_ANT_KEY_END */
public Statement createStatement(int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException { checkOpen(); try { return new DelegatingStatement(this, _conn.createStatement( resultSetType, resultSetConcurrency, resultSetHoldability)); } catch (SQLException e) { handleException(e); return null; } }
public PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException { checkOpen(); try { return new DelegatingPreparedStatement(this, _conn.prepareStatement( sql, resultSetType, resultSetConcurrency, resultSetHoldability)); } catch (SQLException e) { handleException(e); return null; } }
public CallableStatement prepareCall(String sql, int resultSetType, int resultSetConcurrency) throws SQLException { checkOpen(); try { return new DelegatingCallableStatement (this, _conn.prepareCall(sql, resultSetType,resultSetConcurrency)); } catch (SQLException e) { handleException(e); return null; } }
public CallableStatement prepareCall(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException { checkOpen(); try { return new DelegatingCallableStatement(this, _conn.prepareCall( sql, resultSetType, resultSetConcurrency, resultSetHoldability)); } catch (SQLException e) { handleException(e); return null; } }
public Statement createStatement() throws SQLException { checkOpen(); try { return new DelegatingStatement(this, _conn.createStatement()); } catch (SQLException e) { handleException(e); return null; } }
public PreparedStatement prepareStatement(String sql, int autoGeneratedKeys) throws SQLException { checkOpen(); try { return new DelegatingPreparedStatement(this, _conn.prepareStatement( sql, autoGeneratedKeys)); } catch (SQLException e) { handleException(e); return null; } }