Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
org.apache.cayenne.map.DbEntity

Packages that use DbEntity
org.apache.cayenne.access | Contains classes that make up Cayenne ORM stack.
org.apache.cayenne.access.jdbc | Contains classes that handle JDBC interactions.
org.apache.cayenne.access.trans | Provides translators for Cayenne queries.
org.apache.cayenne.ashwood |
org.apache.cayenne.configuration |
org.apache.cayenne.dba | Contains database adapter API (DbAdapter) and its default implementation.
org.apache.cayenne.dba.db2 | IBM DB2 DbAdapter.
org.apache.cayenne.dba.derby | Apache Derby DbAdapter.
org.apache.cayenne.dba.frontbase | FrontBase DbAdapter.
org.apache.cayenne.dba.h2 |
org.apache.cayenne.dba.hsqldb | HSQLDB DbAdapter.
org.apache.cayenne.dba.ingres |
org.apache.cayenne.dba.mysql | MySQL DbAdapter.
org.apache.cayenne.dba.openbase | OpenBase DbAdapter.
org.apache.cayenne.dba.oracle | Oracle DbAdapter.
org.apache.cayenne.dba.postgres | PostgreSQL DbAdapter.
org.apache.cayenne.dba.sqlite |
org.apache.cayenne.dba.sqlserver | MS SQLServer DbAdapter.
org.apache.cayenne.dba.sybase | Sybase DbAdapter.
org.apache.cayenne.map | Contains O/R mapping classes that store relational database metadata information and map it to Java classes.
org.apache.cayenne.map.naming |
org.apache.cayenne.merge |
org.apache.cayenne.query | Defines standard queries supported by Cayenne and extension mechanism to create custom queries.
org.apache.cayenne.reflect |

Uses of DbEntity in org.apache.cayenne.access

Fields in org.apache.cayenne.access declared as DbEntity
`protected DbEntity` | `OptimisticLockException.rootEntity`

Fields in org.apache.cayenne.access with type parameters of type DbEntity
`protected java.util.List<DbEntity>` | `DbGenerator.dbEntitiesInInsertOrder` Contains all DbEntities ordered considering their interdependencies.
`protected java.util.List<DbEntity>` | `DbGenerator.dbEntitiesRequiringAutoPK`

Methods in org.apache.cayenne.access that return types with arguments of type DbEntity
`java.util.List<DbEntity>` | `DbLoader.getTables(java.lang.String catalogPattern, java.lang.String schemaPattern, java.lang.String tableNamePattern, java.lang.String[] types)` Returns all tables for given combination of the criteria.

Methods in org.apache.cayenne.access with parameters of type DbEntity
`java.util.List<java.lang.String>` | `DbGenerator.createConstraintsQueries(DbEntity table)` Creates FK and UNIQUE constraint statements for a given table.
`void` | `DbLoaderDelegate.dbEntityAdded(DbEntity ent)`
`void` | `DbLoaderDelegate.dbEntityRemoved(DbEntity ent)`
`void` | `DataPortDelegate.didCleanData(DataPort portTool, DbEntity entity, int rowCount)` Invoked by DataPort right after the end of data cleanup for a given entity.
`void` | `DataPortDelegate.didPortEntity(DataPort portTool, DbEntity entity, int rowCount)` Invoked by DataPort right after the end of data port for a given entity.
`boolean` | `DbLoaderDelegate.overwriteDbEntity(DbEntity ent)` Returns true to tell DbLoader that it is OK to overwrite DbEntity that already exists in the model.
`Query` | `DataPortDelegate.willCleanData(DataPort portTool, DbEntity entity, Query query)` Invoked by DataPort right before the start of data cleanup for a given entity.
`Query` | `DataPortDelegate.willPortEntity(DataPort portTool, DbEntity entity, Query query)` Invoked by DataPort right before the start of data port for a given entity.

Method parameters in org.apache.cayenne.access with type arguments of type DbEntity
`boolean` | `DbLoader.loadDbEntities(DataMap map, java.util.List<? extends DbEntity> tables)` Loads dbEntities for the specified tables.

Constructors in org.apache.cayenne.access with parameters of type DbEntity
`OptimisticLockException(DbEntity rootEntity, java.lang.String querySQL, java.util.Map qualifierSnapshot)`

Constructor parameters in org.apache.cayenne.access with type arguments of type DbEntity
`DbGenerator(DbAdapter adapter, DataMap map, java.util.Collection<DbEntity> excludedEntities)` Deprecated. since 3.1 use `DbGenerator.DbGenerator(DbAdapter, DataMap, Collection, DataDomain, JdbcEventLogger)`
`DbGenerator(DbAdapter adapter, DataMap map, java.util.Collection<DbEntity> excludedEntities, DataDomain domain, JdbcEventLogger logger)` Creates and initializes new DbGenerator instance.
`DbGenerator(DbAdapter adapter, DataMap map, JdbcEventLogger logger, java.util.Collection<DbEntity> excludedEntities)`

Uses of DbEntity in org.apache.cayenne.access.jdbc

Fields in org.apache.cayenne.access.jdbc declared as DbEntity
`protected DbEntity` | `EJBQLDbPathTranslator.currentEntity`
`protected DbEntity` | `SQLTemplateAction.dbEntity`
`protected DbEntity` | `DistinctResultIterator.defaultEntity`

Constructors in org.apache.cayenne.access.jdbc with parameters of type DbEntity
`DistinctResultIterator(ResultIterator wrappedIterator, DbEntity defaultEntity, boolean compareFullRows)` Creates new DistinctResultIterator wrapping another ResultIterator.

Uses of DbEntity in org.apache.cayenne.access.trans

Methods in org.apache.cayenne.access.trans that return DbEntity
`DbEntity` | `QueryAssemblerHelper.getDbEntity()`
`DbEntity` | `QueryAssembler.getRootDbEntity()`

Uses of DbEntity in org.apache.cayenne.ashwood

Fields in org.apache.cayenne.ashwood with type parameters of type DbEntity
`protected java.util.Map<DbEntity,org.apache.cayenne.ashwood.AshwoodEntitySorter.ComponentRecord>` | `AshwoodEntitySorter.components`
`protected java.util.Comparator<DbEntity>` | `AshwoodEntitySorter.dbEntityComparator`
`protected java.util.Map<DbEntity,java.util.List<DbRelationship>>` | `AshwoodEntitySorter.reflexiveDbEntities`

Methods in org.apache.cayenne.ashwood that return types with arguments of type DbEntity
`protected java.util.Comparator<DbEntity>` | `AshwoodEntitySorter.getDbEntityComparator(boolean dependantFirst)`

Methods in org.apache.cayenne.ashwood with parameters of type DbEntity
`protected boolean` | `AshwoodEntitySorter.isReflexive(DbEntity metadata)`

Method parameters in org.apache.cayenne.ashwood with type arguments of type DbEntity
`void` | `AshwoodEntitySorter.sortDbEntities(java.util.List<DbEntity> dbEntities, boolean deleteOrder)`

Uses of DbEntity in org.apache.cayenne.configuration

Methods in org.apache.cayenne.configuration with parameters of type DbEntity
`T` | `BaseConfigurationNodeVisitor.visitDbEntity(DbEntity entity)`
`T` | `ConfigurationNodeVisitor.visitDbEntity(DbEntity entity)`

Uses of DbEntity in org.apache.cayenne.dba

Methods in org.apache.cayenne.dba with parameters of type DbEntity
`java.lang.String` | `AutoAdapter.createTable(DbEntity entity)`
`java.lang.String` | `DbAdapter.createTable(DbEntity entity)` Returns a SQL string that can be used to create database table corresponding to `entity` parameter.
`java.lang.String` | `JdbcAdapter.createTable(DbEntity entity)` Returns a SQL string that can be used to create database table corresponding to `ent` parameter.
`protected void` | `JdbcAdapter.createTableAppendPKClause(java.lang.StringBuffer sqlBuffer, DbEntity entity)`
`java.lang.String` | `AutoAdapter.createUniqueConstraint(DbEntity source, java.util.Collection<DbAttribute> columns)`
`java.lang.String` | `DbAdapter.createUniqueConstraint(DbEntity source, java.util.Collection<DbAttribute> columns)` Returns a DDL string to create a unique constraint over a set of columns, or null if the unique constraints are not supported.
`java.lang.String` | `JdbcAdapter.createUniqueConstraint(DbEntity source, java.util.Collection<DbAttribute> columns)` Returns a DDL string to create a unique constraint over a set of columns.
`java.util.Collection<java.lang.String>` | `AutoAdapter.dropTableStatements(DbEntity table)`
`java.util.Collection<java.lang.String>` | `DbAdapter.dropTableStatements(DbEntity table)` Returns a collection of SQL statements needed to drop a database table.
`java.util.Collection<java.lang.String>` | `JdbcAdapter.dropTableStatements(DbEntity table)`
`protected long` | `JdbcPkGenerator.longPkFromDatabase(DataNode node, DbEntity entity)` Performs primary key generation ignoring cache.
`java.lang.String` | `QuotingStrategy.quoteFullyQualifiedName(DbEntity entity)`

Method parameters in org.apache.cayenne.dba with type arguments of type DbEntity
`void` | `JdbcPkGenerator.createAutoPk(DataNode node, java.util.List<DbEntity> dbEntities)`
`void` | `PkGenerator.createAutoPk(DataNode node, java.util.List<DbEntity> dbEntities)` Generates necessary database objects to provide automatic primary key support.
`java.util.List<java.lang.String>` | `JdbcPkGenerator.createAutoPkStatements(java.util.List<DbEntity> dbEntities)`
`java.util.List<java.lang.String>` | `PkGenerator.createAutoPkStatements(java.util.List<DbEntity> dbEntities)` Returns a list of SQL strings needed to generates database objects to provide automatic primary support for the list of entities.
`void` | `JdbcPkGenerator.dropAutoPk(DataNode node, java.util.List<DbEntity> dbEntities)` Drops table named "AUTO_PK_SUPPORT" if it exists in the database.
`void` | `PkGenerator.dropAutoPk(DataNode node, java.util.List<DbEntity> dbEntities)` Drops any common database objects associated with automatic primary key generation process.
`java.util.List<java.lang.String>` | `JdbcPkGenerator.dropAutoPkStatements(java.util.List<DbEntity> dbEntities)`
`java.util.List<java.lang.String>` | `PkGenerator.dropAutoPkStatements(java.util.List<DbEntity> dbEntities)` Returns SQL string needed to drop database objects associated with automatic primary key generation.
`protected java.lang.String` | `JdbcPkGenerator.pkDeleteString(java.util.List<DbEntity> dbEntities)`

Uses of DbEntity in org.apache.cayenne.dba.db2

Methods in org.apache.cayenne.dba.db2 with parameters of type DbEntity
`protected java.lang.String` | `DB2PkGenerator.createSequenceString(DbEntity entity)` Returns CREATE SEQUENCE statement for entity.
`MergerToken` | `DB2MergerFactory.createSetColumnTypeToDb(DbEntity entity, DbAttribute columnOriginal, DbAttribute columnNew)`
`java.lang.String` | `DB2Adapter.createTable(DbEntity ent)` Returns a SQL string that can be used to create database table corresponding to `ent` parameter.
`protected java.lang.String` | `DB2PkGenerator.dropSequenceString(DbEntity entity)` Returns DROP SEQUENCE statement.
`protected long` | `DB2PkGenerator.longPkFromDatabase(DataNode node, DbEntity entity)`
`protected java.lang.String` | `DB2PkGenerator.sequenceName(DbEntity entity)` Returns default sequence name for DbEntity.

Method parameters in org.apache.cayenne.dba.db2 with type arguments of type DbEntity
`void` | `DB2PkGenerator.createAutoPk(DataNode node, java.util.List<DbEntity> dbEntities)`
`java.util.List<java.lang.String>` | `DB2PkGenerator.createAutoPkStatements(java.util.List<DbEntity> dbEntities)` Creates a list of CREATE SEQUENCE statements for the list of DbEntities.
`void` | `DB2PkGenerator.dropAutoPk(DataNode node, java.util.List<DbEntity> dbEntities)` Drops PK sequences for all specified DbEntities.
`java.util.List<java.lang.String>` | `DB2PkGenerator.dropAutoPkStatements(java.util.List<DbEntity> dbEntities)` Creates a list of DROP SEQUENCE statements for the list of DbEntities.

Uses of DbEntity in org.apache.cayenne.dba.derby

Methods in org.apache.cayenne.dba.derby with parameters of type DbEntity
`MergerToken` | `DerbyMergerFactory.createSetAllowNullToDb(DbEntity entity, DbAttribute column)`
`MergerToken` | `DerbyMergerFactory.createSetColumnTypeToDb(DbEntity entity, DbAttribute columnOriginal, DbAttribute columnNew)`
`MergerToken` | `DerbyMergerFactory.createSetNotNullToDb(DbEntity entity, DbAttribute column)`
`protected long` | `DerbyPkGenerator.longPkFromDatabase(DataNode node, DbEntity entity)`

Uses of DbEntity in org.apache.cayenne.dba.frontbase

Methods in org.apache.cayenne.dba.frontbase with parameters of type DbEntity
`java.lang.String` | `FrontBaseAdapter.createTable(DbEntity ent)` Customizes table creating procedure for FrontBase.
`java.util.Collection<java.lang.String>` | `FrontBaseAdapter.dropTableStatements(DbEntity table)` Adds the CASCADE option to the DROP TABLE clause.
`protected long` | `FrontBasePkGenerator.longPkFromDatabase(DataNode node, DbEntity entity)`

Method parameters in org.apache.cayenne.dba.frontbase with type arguments of type DbEntity
`void` | `FrontBasePkGenerator.createAutoPk(DataNode node, java.util.List<DbEntity> dbEntities)`
`java.util.List<java.lang.String>` | `FrontBasePkGenerator.createAutoPkStatements(java.util.List<DbEntity> dbEntities)`
`void` | `FrontBasePkGenerator.dropAutoPk(DataNode node, java.util.List<DbEntity> dbEntities)`
`protected java.lang.String` | `FrontBasePkGenerator.pkDeleteString(java.util.List<DbEntity> dbEntities)`

Uses of DbEntity in org.apache.cayenne.dba.h2

Methods in org.apache.cayenne.dba.h2 with parameters of type DbEntity
`MergerToken` | `H2MergerFactory.createSetAllowNullToDb(DbEntity entity, DbAttribute column)`
`MergerToken` | `H2MergerFactory.createSetColumnTypeToDb(DbEntity entity, DbAttribute columnOriginal, DbAttribute columnNew)`
`MergerToken` | `H2MergerFactory.createSetPrimaryKeyToDb(DbEntity entity, java.util.Collection<DbAttribute> primaryKeyOriginal, java.util.Collection<DbAttribute> primaryKeyNew, java.lang.String detectedPrimaryKeyName)`

Uses of DbEntity in org.apache.cayenne.dba.hsqldb

Methods in org.apache.cayenne.dba.hsqldb with parameters of type DbEntity
`MergerToken` | `HSQLMergerFactory.createSetAllowNullToDb(DbEntity entity, DbAttribute column)`
`MergerToken` | `HSQLMergerFactory.createSetColumnTypeToDb(DbEntity entity, DbAttribute columnOriginal, DbAttribute columnNew)`
`MergerToken` | `HSQLMergerFactory.createSetPrimaryKeyToDb(DbEntity entity, java.util.Collection<DbAttribute> primaryKeyOriginal, java.util.Collection<DbAttribute> primaryKeyNew, java.lang.String detectedPrimaryKeyName)`
`java.lang.String` | `HSQLDBAdapter.createTable(DbEntity ent)` Uses "CREATE CACHED TABLE" instead of "CREATE TABLE".
`java.lang.String` | `HSQLDBNoSchemaAdapter.createTable(DbEntity ent)` Uses unqualified entity names.
`java.lang.String` | `HSQLDBAdapter.createUniqueConstraint(DbEntity source, java.util.Collection<DbAttribute> columns)` Returns a DDL string to create a unique constraint over a set of columns.
`java.util.Collection<java.lang.String>` | `HSQLDBNoSchemaAdapter.dropTableStatements(DbEntity table)`
`protected java.lang.String` | `HSQLDBAdapter.getSchemaName(DbEntity entity)` Generate fully-qualified name for 1.8 and on.
`protected java.lang.String` | `HSQLDBNoSchemaAdapter.getSchemaName(DbEntity entity)` Generate unqualified name.
`protected java.lang.String` | `HSQLDBAdapter.getTableName(DbEntity entity)` Generate fully-qualified name for 1.8 and on.
`protected java.lang.String` | `HSQLDBNoSchemaAdapter.getTableName(DbEntity entity)` Generate unqualified name without schema.

Uses of DbEntity in org.apache.cayenne.dba.ingres

Methods in org.apache.cayenne.dba.ingres with parameters of type DbEntity
`java.lang.String` | `IngresAdapter.createTable(DbEntity ent)` Returns a SQL string that can be used to create database table corresponding to `ent` parameter.
`protected long` | `IngresPkGenerator.longPkFromDatabase(DataNode node, DbEntity entity)`

Uses of DbEntity in org.apache.cayenne.dba.mysql

Methods in org.apache.cayenne.dba.mysql with parameters of type DbEntity
`MergerToken` | `MySQLMergerFactory.createDropRelationshipToDb(DbEntity entity, DbRelationship rel)`
`MergerToken` | `MySQLMergerFactory.createSetAllowNullToDb(DbEntity entity, DbAttribute column)`
`MergerToken` | `MySQLMergerFactory.createSetColumnTypeToDb(DbEntity entity, DbAttribute columnOriginal, DbAttribute columnNew)`
`MergerToken` | `MySQLMergerFactory.createSetNotNullToDb(DbEntity entity, DbAttribute column)`
`MergerToken` | `MySQLMergerFactory.createSetPrimaryKeyToDb(DbEntity entity, java.util.Collection<DbAttribute> primaryKeyOriginal, java.util.Collection<DbAttribute> primaryKeyNew, java.lang.String detectedPrimaryKeyName)`
`java.lang.String` | `MySQLAdapter.createTable(DbEntity entity)` Overrides super implementation to explicitly set table engine to InnoDB if FK constraints are supported by this adapter.
`protected void` | `MySQLAdapter.createTableAppendPKClause(java.lang.StringBuffer sqlBuffer, DbEntity entity)` Customizes PK clause semantics to ensure that generated columns are in the beginning of the PK definition, as this seems to be a requirement for InnoDB tables.
`java.util.Collection<java.lang.String>` | `MySQLAdapter.dropTableStatements(DbEntity table)`
`protected long` | `MySQLPkGenerator.longPkFromDatabase(DataNode node, DbEntity entity)` Overrides superclass's implementation to perform locking of the primary key lookup table.

Uses of DbEntity in org.apache.cayenne.dba.openbase

Methods in org.apache.cayenne.dba.openbase with parameters of type DbEntity
`protected boolean` | `OpenBasePkGenerator.canCreatePK(DbEntity entity)`
`MergerToken` | `OpenBaseMergerFactory.createCreateTableToDb(DbEntity entity)`
`MergerToken` | `OpenBaseMergerFactory.createDropRelationshipToDb(DbEntity entity, DbRelationship rel)`
`protected java.lang.String` | `OpenBasePkGenerator.createPKString(DbEntity entity)` Returns a String to create PK support for an entity.
`MergerToken` | `OpenBaseMergerFactory.createSetAllowNullToDb(DbEntity entity, DbAttribute column)`
`MergerToken` | `OpenBaseMergerFactory.createSetColumnTypeToDb(DbEntity entity, DbAttribute columnOriginal, DbAttribute columnNew)`
`MergerToken` | `OpenBaseMergerFactory.createSetNotNullToDb(DbEntity entity, DbAttribute column)`
`java.lang.String` | `OpenBaseAdapter.createTable(DbEntity ent)` Returns a SQL string that can be used to create database table corresponding to `ent` parameter.
`protected java.lang.String` | `OpenBasePkGenerator.createUniquePKIndexString(DbEntity entity)` Returns a String to create a unique index on table primary key columns per OpenBase recommendations.
`protected long` | `OpenBasePkGenerator.longPkFromDatabase(DataNode node, DbEntity entity)` Generates new (unique and non-repeating) primary key for specified DbEntity.
`protected java.lang.String` | `OpenBasePkGenerator.newIDString(DbEntity ent)` Returns SQL string that can generate new (unique and non-repeating) primary key for specified DbEntity.

Uses of DbEntity in org.apache.cayenne.dba.oracle

Methods in org.apache.cayenne.dba.oracle with parameters of type DbEntity
`MergerToken` | `OracleMergerFactory.createAddColumnToDb(DbEntity entity, DbAttribute column)`
`protected java.lang.String` | `OraclePkGenerator.createSequenceString(DbEntity ent)`
`MergerToken` | `OracleMergerFactory.createSetAllowNullToDb(DbEntity entity, DbAttribute column)`
`MergerToken` | `OracleMergerFactory.createSetColumnTypeToDb(DbEntity entity, DbAttribute columnOriginal, DbAttribute columnNew)`
`MergerToken` | `OracleMergerFactory.createSetNotNullToDb(DbEntity entity, DbAttribute column)`
`protected java.lang.String` | `OraclePkGenerator.dropSequenceString(DbEntity ent)` Returns a SQL string needed to drop any database objects associated with automatic primary key generation process for a specific DbEntity.
`java.util.Collection<java.lang.String>` | `OracleAdapter.dropTableStatements(DbEntity table)` Returns a query string to drop a table corresponding to `ent` DbEntity.
`protected long` | `OraclePkGenerator.longPkFromDatabase(DataNode node, DbEntity entity)` Generates primary key by calling Oracle sequence corresponding to the `dbEntity`.
`protected int` | `OraclePkGenerator.pkCacheSize(DbEntity entity)`
`protected java.lang.String` | `OraclePkGenerator.sequenceName(DbEntity entity)` Returns expected primary key sequence name for a DbEntity.

Uses of DbEntity in org.apache.cayenne.dba.postgres

Methods in org.apache.cayenne.dba.postgres with parameters of type DbEntity
`protected java.lang.String` | `PostgresPkGenerator.createSequenceString(DbEntity ent)`
`MergerToken` | `PostgresMergerFactory.createSetColumnTypeToDb(DbEntity entity, DbAttribute columnOriginal, DbAttribute columnNew)`
`java.lang.String` | `PostgresAdapter.createTable(DbEntity ent)` Customizes table creating procedure for PostgreSQL.
`java.util.Collection<java.lang.String>` | `PostgresAdapter.dropTableStatements(DbEntity table)` Adds the CASCADE option to the DROP TABLE clause.
`protected long` | `PostgresPkGenerator.longPkFromDatabase(DataNode node, DbEntity entity)`

Uses of DbEntity in org.apache.cayenne.dba.sqlite

Methods in org.apache.cayenne.dba.sqlite with parameters of type DbEntity
`protected void` | `SQLiteAdapter.createTableAppendPKClause(java.lang.StringBuffer sqlBuffer, DbEntity entity)`
`java.lang.String` | `SQLiteAdapter.createUniqueConstraint(DbEntity source, java.util.Collection<DbAttribute> columns)`

Uses of DbEntity in org.apache.cayenne.dba.sqlserver

Methods in org.apache.cayenne.dba.sqlserver with parameters of type DbEntity
`MergerToken` | `SQLServerMergerFactory.createAddColumnToDb(DbEntity entity, DbAttribute column)`
`MergerToken` | `SQLServerMergerFactory.createSetAllowNullToDb(DbEntity entity, DbAttribute column)`
`MergerToken` | `SQLServerMergerFactory.createSetColumnTypeToDb(DbEntity entity, DbAttribute columnOriginal, DbAttribute columnNew)`
`MergerToken` | `SQLServerMergerFactory.createSetNotNullToDb(DbEntity entity, DbAttribute column)`

Uses of DbEntity in org.apache.cayenne.dba.sybase

Methods in org.apache.cayenne.dba.sybase with parameters of type DbEntity
`MergerToken` | `SybaseMergerFactory.createAddColumnToDb(DbEntity entity, DbAttribute column)`
`MergerToken` | `SybaseMergerFactory.createDropColumnToDb(DbEntity entity, DbAttribute column)`
`MergerToken` | `SybaseMergerFactory.createSetAllowNullToDb(DbEntity entity, DbAttribute column)`
`MergerToken` | `SybaseMergerFactory.createSetColumnTypeToDb(DbEntity entity, DbAttribute columnOriginal, DbAttribute columnNew)`
`MergerToken` | `SybaseMergerFactory.createSetNotNullToDb(DbEntity entity, DbAttribute column)`
`protected long` | `SybasePkGenerator.longPkFromDatabase(DataNode node, DbEntity entity)`

Method parameters in org.apache.cayenne.dba.sybase with type arguments of type DbEntity
`void` | `SybasePkGenerator.createAutoPk(DataNode node, java.util.List<DbEntity> dbEntities)` Generates database objects to provide automatic primary key support.
`java.util.List<java.lang.String>` | `SybasePkGenerator.createAutoPkStatements(java.util.List<DbEntity> dbEntities)`
`void` | `SybasePkGenerator.dropAutoPk(DataNode node, java.util.List<DbEntity> dbEntities)` Drops database objects related to automatic primary key support.
`java.util.List<java.lang.String>` | `SybasePkGenerator.dropAutoPkStatements(java.util.List<DbEntity> dbEntities)`

Uses of DbEntity in org.apache.cayenne.map

Subclasses of DbEntity in org.apache.cayenne.map
`class` | `DetectedDbEntity` A `DbEntity` subclass used to hold extra JDBC metadata.

Fields in org.apache.cayenne.map declared as DbEntity
`protected DbEntity` | `DbKeyGenerator.dbEntity`

Fields in org.apache.cayenne.map with type parameters of type DbEntity
`protected java.util.Map<java.lang.String,DbEntity>` | `EntityResolver.dbEntityCache`

Methods in org.apache.cayenne.map that return DbEntity
`protected DbEntity` | `EntityResolver._lookupDbEntity(java.lang.Object object)` Internal usage only - provides the type-unsafe implementation which services the four typesafe public lookupDbEntity methods Looks in the DataMap's that this object was created with for the ObjEntity that maps to the specified object.
`DbEntity` | `DbKeyGenerator.getDbEntity()`
`DbEntity` | `ObjEntity.getDbEntity()` Returns a DbEntity associated with this ObjEntity.
`DbEntity` | `DataMap.getDbEntity(java.lang.String dbEntityName)` Returns DbEntity matching the `name` parameter.
`DbEntity` | `EntityResolver.getDbEntity(java.lang.String name)`
`DbEntity` | `MappingNamespace.getDbEntity(java.lang.String name)` Returns DbEntity for a given name, or null if no such DbEntity is found in the MappingNamespace.

Methods in org.apache.cayenne.map that return types with arguments of type DbEntity
`java.util.Collection<DbEntity>` | `DataMap.getDbEntities()` Returns all DbEntities in this DataMap.
`java.util.Collection<DbEntity>` | `EntityResolver.getDbEntities()` Returns all DbEntities.
`java.util.Collection<DbEntity>` | `MappingNamespace.getDbEntities()` Returns all DbEntities in the namespace.
`java.util.SortedMap<java.lang.String,DbEntity>` | `DataMap.getDbEntityMap()` Returns a sorted unmodifiable map of DbEntities contained in this DataMap, keyed by DbEntity name.

Methods in org.apache.cayenne.map with parameters of type DbEntity
`void` | `DataMap.addDbEntity(DbEntity entity)` Adds a new DbEntity to this DataMap.
`java.util.Collection<ObjEntity>` | `DataMap.getMappedEntities(DbEntity dbEntity)` Returns all ObjEntities mapped to the given DbEntity.
`void` | `DbKeyGenerator.setDbEntity(DbEntity dbEntity)`
`void` | `ObjEntity.setDbEntity(DbEntity dbEntity)` Sets the DbEntity used by this ObjEntity.

Method parameters in org.apache.cayenne.map with type arguments of type DbEntity
`void` | `EntitySorter.sortDbEntities(java.util.List<DbEntity> dbEntities, boolean deleteOrder)` Sorts a list of DbEntities.

Constructors in org.apache.cayenne.map with parameters of type DbEntity
`DbAttribute(java.lang.String name, int type, DbEntity entity)`

Uses of DbEntity in org.apache.cayenne.map.naming

Methods in org.apache.cayenne.map.naming with parameters of type DbEntity
`java.lang.String` | `BasicNamingStrategy.createObjEntityName(DbEntity dbEntity)`
`java.lang.String` | `NamingStrategy.createObjEntityName(DbEntity entity)` Creates new name for Obj Entity

Uses of DbEntity in org.apache.cayenne.merge

Methods in org.apache.cayenne.merge with parameters of type DbEntity
`MergerToken` | `MergerFactory.createAddColumnToDb(DbEntity entity, DbAttribute column)`
`MergerToken` | `MergerFactory.createAddColumnToModel(DbEntity entity, DbAttribute column)`
`MergerToken` | `MergerFactory.createAddRelationshipToDb(DbEntity entity, DbRelationship rel)`
`MergerToken` | `MergerFactory.createAddRelationshipToModel(DbEntity entity, DbRelationship rel)`
`MergerToken` | `MergerFactory.createCreateTableToDb(DbEntity entity)`
`MergerToken` | `MergerFactory.createCreateTableToModel(DbEntity entity)`
`MergerToken` | `MergerFactory.createDropColumnToDb(DbEntity entity, DbAttribute column)`
`MergerToken` | `MergerFactory.createDropColumnToModel(DbEntity entity, DbAttribute column)`
`MergerToken` | `MergerFactory.createDropRelationshipToDb(DbEntity entity, DbRelationship rel)`
`MergerToken` | `MergerFactory.createDropRelationshipToModel(DbEntity entity, DbRelationship rel)`
`MergerToken` | `MergerFactory.createDropTableToDb(DbEntity entity)`
`MergerToken` | `MergerFactory.createDropTableToModel(DbEntity entity)`
`MergerToken` | `MergerFactory.createSetAllowNullToDb(DbEntity entity, DbAttribute column)`
`MergerToken` | `MergerFactory.createSetAllowNullToModel(DbEntity entity, DbAttribute column)`
`MergerToken` | `MergerFactory.createSetColumnTypeToDb(DbEntity entity, DbAttribute columnOriginal, DbAttribute columnNew)`
`MergerToken` | `MergerFactory.createSetColumnTypeToModel(DbEntity entity, DbAttribute columnOriginal, DbAttribute columnNew)`
`MergerToken` | `MergerFactory.createSetNotNullToDb(DbEntity entity, DbAttribute column)`
`MergerToken` | `MergerFactory.createSetNotNullToModel(DbEntity entity, DbAttribute column)`
`MergerToken` | `MergerFactory.createSetPrimaryKeyToDb(DbEntity entity, java.util.Collection<DbAttribute> primaryKeyOriginal, java.util.Collection<DbAttribute> primaryKeyNew, java.lang.String detectedPrimaryKeyName)`
`MergerToken` | `MergerFactory.createSetPrimaryKeyToModel(DbEntity entity, java.util.Collection<DbAttribute> primaryKeyOriginal, java.util.Collection<DbAttribute> primaryKeyNew, java.lang.String detectedPrimaryKeyName)`
`MergerToken` | `MergerFactory.createSetValueForNullToDb(DbEntity entity, DbAttribute column, ValueForNullProvider valueForNullProvider)`
`java.util.List<java.lang.String>` | `DefaultValueForNullProvider.createSql(DbEntity entity, DbAttribute column)`
`java.util.List<java.lang.String>` | `ValueForNullProvider.createSql(DbEntity entity, DbAttribute column)`
`void` | `ModelMergeDelegate.dbEntityAdded(DbEntity ent)`
`void` | `ModelMergeDelegate.dbEntityRemoved(DbEntity ent)`
`protected ParameterBinding` | `DefaultValueForNullProvider.get(DbEntity entity, DbAttribute column)`
`boolean` | `DefaultValueForNullProvider.hasValueFor(DbEntity entity, DbAttribute column)`
`boolean` | `ValueForNullProvider.hasValueFor(DbEntity entity, DbAttribute column)`
`protected java.util.Collection<ObjEntity>` | `AbstractToModelToken.objEntitiesMappedToDbEntity(DbEntity entity)`
`void` | `DefaultValueForNullProvider.set(DbEntity entity, DbAttribute column, java.lang.Object value, int type)`
`protected void` | `AbstractToModelToken.synchronizeWithObjEntity(MergerContext mergerContext, DbEntity entity)`

Constructors in org.apache.cayenne.merge with parameters of type DbEntity
`AddColumnToDb(DbEntity entity, DbAttribute column)`
`AddColumnToModel(DbEntity entity, DbAttribute column)`
`AddRelationshipToDb(DbEntity entity, DbRelationship rel)`
`AddRelationshipToModel(DbEntity entity, DbRelationship rel)`
`CreateTableToDb(DbEntity entity)`
`CreateTableToModel(DbEntity entity)`
`DropColumnToDb(DbEntity entity, DbAttribute column)`
`DropColumnToModel(DbEntity entity, DbAttribute column)`
`DropRelationshipToDb(DbEntity entity, DbRelationship rel)`
`DropRelationshipToModel(DbEntity entity, DbRelationship rel)`
`DropTableToDb(DbEntity entity)`
`DropTableToModel(DbEntity entity)`
`SetAllowNullToDb(DbEntity entity, DbAttribute column)`
`SetAllowNullToModel(DbEntity entity, DbAttribute column)`
`SetColumnTypeToDb(DbEntity entity, DbAttribute columnOriginal, DbAttribute columnNew)`
`SetColumnTypeToModel(DbEntity entity, DbAttribute columnOriginal, DbAttribute columnNew)`
`SetNotNullToDb(DbEntity entity, DbAttribute column)`
`SetNotNullToModel(DbEntity entity, DbAttribute column)`
`SetPrimaryKeyToDb(DbEntity entity, java.util.Collection<DbAttribute> primaryKeyOriginal, java.util.Collection<DbAttribute> primaryKeyNew, java.lang.String detectedPrimaryKeyName)`
`SetPrimaryKeyToModel(DbEntity entity, java.util.Collection<DbAttribute> primaryKeyOriginal, java.util.Collection<DbAttribute> primaryKeyNew, java.lang.String detectedPrimaryKeyName)`
`SetValueForNullToDb(DbEntity entity, DbAttribute column, ValueForNullProvider valueForNullProvider)`

Uses of DbEntity in org.apache.cayenne.query

Fields in org.apache.cayenne.query declared as DbEntity
`protected DbEntity` | `BatchQuery.dbEntity`

Methods in org.apache.cayenne.query that return DbEntity
`DbEntity` | `BatchQuery.getDbEntity()` Returns a DbEntity associated with this batch.
`DbEntity` | `QueryMetadata.getDbEntity()` Returns a DbEntity associated with a query or null if no such entity exists.

Constructors in org.apache.cayenne.query with parameters of type DbEntity
`BatchQuery(DbEntity dbEntity)`
`DeleteBatchQuery(DbEntity dbEntity, java.util.Collection<DbAttribute> qualifierAttributes, java.util.Collection<java.lang.String> nullQualifierNames, int batchCapacity)` Creates new DeleteBatchQuery.
`DeleteBatchQuery(DbEntity dbEntity, int batchCapacity)` Creates new DeleteBatchQuery.
`InsertBatchQuery(DbEntity entity, int batchCapacity)` Creates new InsertBatchQuery for a given DbEntity and estimated capacity.
`SelectQuery(DbEntity root)` Creates a SelectQuery for the specified DbEntity.
`SelectQuery(DbEntity root, Expression qualifier)` Creates a SelectQuery for the specified DbEntity with the given qualifier.
`SQLTemplate(DbEntity rootEntity, java.lang.String defaultTemplate)`
`UpdateBatchQuery(DbEntity dbEntity, java.util.List<DbAttribute> qualifierAttributes, java.util.List<DbAttribute> updatedAttribute, java.util.Collection<java.lang.String> nullQualifierNames, int batchCapacity)` Creates new UpdateBatchQuery.

Uses of DbEntity in org.apache.cayenne.reflect

Fields in org.apache.cayenne.reflect with type parameters of type DbEntity
`protected java.util.Collection<DbEntity>` | `PersistentDescriptor.rootDbEntities`

Methods in org.apache.cayenne.reflect that return types with arguments of type DbEntity
`java.util.Collection<DbEntity>` | `ClassDescriptor.getRootDbEntities()` Returns a collection of DbEntities that are the root tables for this descriptor's ObjEntity.
`java.util.Collection<DbEntity>` | `LazyClassDescriptorDecorator.getRootDbEntities()`
`java.util.Collection<DbEntity>` | `PersistentDescriptor.getRootDbEntities()`

Methods in org.apache.cayenne.reflect with parameters of type DbEntity
`void` | `PersistentDescriptor.addRootDbEntity(DbEntity dbEntity)` Adds a root DbEntity to the list of roots, filtering duplicates.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

Copyright © 2001-2011 Apache Cayenne. All Rights Reserved.