@LoadLevel(name="oracle") public class OracleTableMetaCache extends AbstractTableMetaCache
| Constructor and Description |
|---|
OracleTableMetaCache() |
| Modifier and Type | Method and Description |
|---|---|
protected TableMeta |
fetchSchema(Connection connection,
String tableName)
get scheme from datasource and tableName
|
protected String |
getCacheKey(Connection connection,
String tableName,
String resourceId)
generate cache key
|
protected TableMeta |
resultSetMetaToSchema(DatabaseMetaData dbmd,
String tableName) |
getTableMeta, refreshprotected String getCacheKey(Connection connection, String tableName, String resourceId)
AbstractTableMetaCachegetCacheKey in class AbstractTableMetaCacheconnection - the connectiontableName - the table nameresourceId - the resource idprotected TableMeta fetchSchema(Connection connection, String tableName) throws SQLException
AbstractTableMetaCachefetchSchema in class AbstractTableMetaCacheconnection - the connectiontableName - the table nameSQLException - the sql exceptionprotected TableMeta resultSetMetaToSchema(DatabaseMetaData dbmd, String tableName) throws SQLException
SQLExceptionCopyright © 2024 Apache. All rights reserved.