Package | Description |
---|---|
org.apache.cayenne.access |
Contains classes that make up Cayenne ORM stack.
|
org.apache.cayenne.access.loader | |
org.apache.cayenne.map.naming | |
org.apache.cayenne.util |
General utility classes.
|
Modifier and Type | Method and Description |
---|---|
ObjectNameGenerator |
DbLoader.getNameGenerator() |
Modifier and Type | Method and Description |
---|---|
static void |
DbLoader.flattenManyToManyRelationships(DataMap map,
Collection<ObjEntity> loadedObjEntities,
ObjectNameGenerator objectNameGenerator)
Flattens many-to-many relationships in the generated model.
|
static Collection<ObjEntity> |
DbLoader.loadObjEntities(DataMap map,
DbLoaderConfiguration config,
Collection<DbEntity> entities,
ObjectNameGenerator nameGenerator) |
void |
DbLoader.setNameGenerator(ObjectNameGenerator strategy)
Sets new naming strategy for reverse engineering
|
Constructor and Description |
---|
DbLoader(Connection connection,
DbAdapter adapter,
DbLoaderDelegate delegate,
ObjectNameGenerator strategy)
Creates new DbLoader with specified naming strategy.
|
Modifier and Type | Method and Description |
---|---|
void |
ManyToManyCandidateEntity.optimizeRelationships(ObjectNameGenerator nameGenerator)
Method make direct relationships between 2 entities and remove relationships to
many to many entity
|
Modifier and Type | Class and Description |
---|---|
class |
LegacyNameGenerator
BasicNamingStrategy is an naming strategy that creates names in Cayenne's
old-fashioned manner, i.e.
|
Modifier and Type | Method and Description |
---|---|
ObjectNameGenerator |
EntityMergeSupport.getNameGenerator() |
Constructor and Description |
---|
EntityMergeSupport(DataMap map,
ObjectNameGenerator nameGenerator,
boolean removeMeaningfulPKs) |
Copyright © 2001–2015 Apache Cayenne. All rights reserved.