public class DbTableLoader extends Object
| Constructor and Description |
|---|
DbTableLoader(String catalog,
String schema,
DatabaseMetaData metaData,
DbLoaderDelegate delegate,
DbAttributesLoader attributesLoader) |
| Modifier and Type | Method and Description |
|---|---|
List<DetectedDbEntity> |
getDbEntities(TableFilter filters,
String[] types)
Returns all tables for given combination of the criteria.
|
List<DbEntity> |
loadDbEntities(DataMap map,
DbLoaderConfiguration config,
String[] types)
Loads dbEntities for the specified tables.
|
public DbTableLoader(String catalog, String schema, DatabaseMetaData metaData, DbLoaderDelegate delegate, DbAttributesLoader attributesLoader)
public List<DetectedDbEntity> getDbEntities(TableFilter filters, String[] types) throws SQLException
types - The types of table names to retrieve, null returns all types.SQLExceptionpublic List<DbEntity> loadDbEntities(DataMap map, DbLoaderConfiguration config, String[] types) throws SQLException
config - types - SQLExceptionCopyright © 2001–2016 Apache Cayenne. All rights reserved.