/** * Return the base underlying database metadata. */ public DatabaseMetaData getInnermostDelegate() { return _metaData instanceof DelegatingDatabaseMetaData ? ((DelegatingDatabaseMetaData) _metaData).getInnermostDelegate() : _metaData; }
/** * Return the metadata, with the option of not wrapping it in a * {@link DelegatingDatabaseMetaData}, which is the default. */ protected DatabaseMetaData getMetaData(boolean wrap) throws SQLException { DatabaseMetaData meta; if (_del != null) meta = _del.getMetaData(false); else meta = _conn.getMetaData(); if (wrap) meta = new DelegatingDatabaseMetaData(meta, this); return meta; }
public ResultSet getColumnPrivileges(String catalog, String schema, String table, String columnNamePattern) throws SQLException { if (_logs.isJDBCEnabled()) _logs.logJDBC("getColumnPrivileges: " + catalog + ", " + schema + ", " + table, LoggingConnection.this); return super.getColumnPrivileges(catalog, schema, table, columnNamePattern); }
public ResultSet getImportedKeys(String catalog, String schema, String table) throws SQLException { if (_logs.isJDBCEnabled()) _logs.logJDBC("getImportedKeys: " + catalog + ", " + schema + ", " + table, LoggingConnection.this); return super.getImportedKeys(catalog, schema, table); }
public ResultSet getCatalogs() throws SQLException { if (_logs.isJDBCEnabled()) _logs.logJDBC("getCatalogs", LoggingConnection.this); return super.getCatalogs(); }
public ResultSet getBestRowIdentifier(String catalog, String schema, String table, int scope, boolean nullable) throws SQLException { if (_logs.isJDBCEnabled()) _logs.logJDBC("getBestRowIdentifier: " + catalog + ", " + schema + ", " + table, LoggingConnection.this); return super.getBestRowIdentifier(catalog, schema, table, scope, nullable); }
public ResultSet getExportedKeys(String catalog, String schema, String table) throws SQLException { if (_logs.isJDBCEnabled()) _logs.logJDBC("getExportedKeys: " + catalog + ", " + schema + ", " + table, LoggingConnection.this); return super.getExportedKeys(catalog, schema, table); }
public ResultSet getIndexInfo(String catalog, String schema, String table, boolean unique, boolean approximate) throws SQLException { if (_logs.isJDBCEnabled()) _logs.logJDBC("getIndexInfo: " + catalog + ", " + schema + ", " + table, LoggingConnection.this); return super.getIndexInfo(catalog, schema, table, unique, approximate); }
public ResultSet getColumns(String catalog, String schemaPattern, String tableNamePattern, String columnNamePattern) throws SQLException { if (_logs.isJDBCEnabled()) _logs.logJDBC("getColumns: " + catalog + ", " + schemaPattern + ", " + tableNamePattern + ", " + columnNamePattern, LoggingConnection.this); return super.getColumns(catalog, schemaPattern, tableNamePattern, columnNamePattern); }
public ResultSet getCrossReference(String primaryCatalog, String primarySchema, String primaryTable, String foreignCatalog, String foreignSchema, String foreignTable) throws SQLException { if (_logs.isJDBCEnabled()) _logs.logJDBC("getCrossReference: " + primaryCatalog + ", " + primarySchema + ", " + primaryTable + ", " + foreignCatalog + ", " + foreignSchema + ", " + foreignSchema, LoggingConnection.this); return super.getCrossReference(primaryCatalog, primarySchema, primaryTable, foreignCatalog, foreignSchema, foreignTable); }
public ResultSet getColumnPrivileges(String catalog, String schema, String table, String columnNamePattern) throws SQLException { if (_logs.isJDBCEnabled()) _logs.logJDBC("getColumnPrivileges: " + catalog + ", " + schema + ", " + table, LoggingConnection.this); return super.getColumnPrivileges(catalog, schema, table, columnNamePattern); }
public ResultSet getImportedKeys(String catalog, String schema, String table) throws SQLException { if (_logs.isJDBCEnabled()) _logs.logJDBC("getImportedKeys: " + catalog + ", " + schema + ", " + table, LoggingConnection.this); return super.getImportedKeys(catalog, schema, table); }
public ResultSet getCatalogs() throws SQLException { if (_logs.isJDBCEnabled()) _logs.logJDBC("getCatalogs", LoggingConnection.this); return super.getCatalogs(); }
public ResultSet getBestRowIdentifier(String catalog, String schema, String table, int scope, boolean nullable) throws SQLException { if (_logs.isJDBCEnabled()) _logs.logJDBC("getBestRowIdentifier: " + catalog + ", " + schema + ", " + table, LoggingConnection.this); return super.getBestRowIdentifier(catalog, schema, table, scope, nullable); }
public ResultSet getExportedKeys(String catalog, String schema, String table) throws SQLException { if (_logs.isJDBCEnabled()) _logs.logJDBC("getExportedKeys: " + catalog + ", " + schema + ", " + table, LoggingConnection.this); return super.getExportedKeys(catalog, schema, table); }
public ResultSet getIndexInfo(String catalog, String schema, String table, boolean unique, boolean approximate) throws SQLException { if (_logs.isJDBCEnabled()) _logs.logJDBC("getIndexInfo: " + catalog + ", " + schema + ", " + table, LoggingConnection.this); return super.getIndexInfo(catalog, schema, table, unique, approximate); }
public ResultSet getColumns(String catalog, String schemaPattern, String tableNamePattern, String columnNamePattern) throws SQLException { if (_logs.isJDBCEnabled()) _logs.logJDBC("getColumns: " + catalog + ", " + schemaPattern + ", " + tableNamePattern + ", " + columnNamePattern, LoggingConnection.this); return super.getColumns(catalog, schemaPattern, tableNamePattern, columnNamePattern); }
public ResultSet getCrossReference(String primaryCatalog, String primarySchema, String primaryTable, String foreignCatalog, String foreignSchema, String foreignTable) throws SQLException { if (_logs.isJDBCEnabled()) _logs.logJDBC("getCrossReference: " + primaryCatalog + ", " + primarySchema + ", " + primaryTable + ", " + foreignCatalog + ", " + foreignSchema + ", " + foreignSchema, LoggingConnection.this); return super.getCrossReference(primaryCatalog, primarySchema, primaryTable, foreignCatalog, foreignSchema, foreignTable); }
/** * Return the base underlying database metadata. */ public DatabaseMetaData getInnermostDelegate() { return _metaData instanceof DelegatingDatabaseMetaData ? ((DelegatingDatabaseMetaData) _metaData).getInnermostDelegate() : _metaData; }
public ResultSet getColumnPrivileges(String catalog, String schema, String table, String columnNamePattern) throws SQLException { if (_logs.isJDBCEnabled()) _logs.logJDBC("getColumnPrivileges: " + catalog + ", " + schema + ", " + table, LoggingConnection.this); return super.getColumnPrivileges(catalog, schema, table, columnNamePattern); }