@LoadLevel(name="sqlserver") public class SqlServerTableMetaCache extends AbstractTableMetaCache
| Constructor and Description |
|---|
SqlServerTableMetaCache() |
| 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
|
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 exceptionCopyright © 2024 Apache. All rights reserved.