Package | Description |
---|---|
org.apache.cayenne.access |
Contains classes that make up Cayenne ORM stack.
|
org.apache.cayenne.merge |
Modifier and Type | Method and Description |
---|---|
Map<DbPath,Map<String,DbEntity>> |
DbLoader.getTables(DbLoaderConfiguration config,
String[] types)
Returns all tables for given combination of the criteria.
|
void |
DbLoader.load(DataMap dataMap,
DbLoaderConfiguration config)
Performs database reverse engineering based on the specified config
and fills the specified
DataMap object with DB and object mapping info.
|
DataMap |
DbLoader.load(DbLoaderConfiguration config)
Performs database reverse engineering to match the specified catalog,
schema, table name and table type patterns and fills the specified
DataMap object with DB and object mapping info.
|
List<DbEntity> |
DbLoader.loadDbEntities(DataMap map,
DbLoaderConfiguration config,
Map<DbPath,Map<String,DbEntity>> tables)
Loads dbEntities for the specified tables.
|
protected void |
DbLoader.loadDbRelationships(DbLoaderConfiguration config,
Map<DbPath,Map<String,DbEntity>> tables) |
Collection<ObjEntity> |
DbLoader.loadObjEntities(DataMap map,
DbLoaderConfiguration config,
Collection<DbEntity> entities)
Creates an ObjEntity for each DbEntity in the map.
|
static Collection<ObjEntity> |
DbLoader.loadObjEntities(DataMap map,
DbLoaderConfiguration config,
Collection<DbEntity> entities,
ObjectNameGenerator nameGenerator) |
Map<String,Procedure> |
DbLoader.loadProcedures(DataMap dataMap,
DbLoaderConfiguration config)
Loads database stored procedures into the DataMap.
|
void |
DbLoader.prepareObjLayer(DataMap dataMap,
DbLoaderConfiguration config,
Collection<DbEntity> entities) |
Modifier and Type | Method and Description |
---|---|
List<MergerToken> |
DbMerger.createMergeTokens(Collection<DbEntity> existing,
Collection<DbEntity> loadedFromDb,
DbLoaderConfiguration config) |
List<MergerToken> |
DbMerger.createMergeTokens(DataMap existing,
DataMap loadedFomDb,
DbLoaderConfiguration config)
|
List<MergerToken> |
DbMerger.createMergeTokens(DataSource dataSource,
DbAdapter adapter,
DataMap existingDataMap,
DbLoaderConfiguration config)
|
Copyright © 2001–2015 Apache Cayenne. All rights reserved.