Uses of Class org.apache.cayenne.map.DbEntity (cayenne-doc: Cayenne Documentation 5.0-M2 API)
Description: use: package: org.apache.cayenne.map, class: DbEntity

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

Packages that use DbEntity
Package
Description
org.apache.cayenne.access
Contains classes that make up Cayenne ORM stack.
org.apache.cayenne.access.flush.operation
org.apache.cayenne.access.jdbc
Contains classes that handle JDBC interactions.
org.apache.cayenne.access.sqlbuilder
org.apache.cayenne.access.sqlbuilder.sqltree
org.apache.cayenne.access.translator.ejbql
org.apache.cayenne.access.translator.select
org.apache.cayenne.ashwood
org.apache.cayenne.configuration
org.apache.cayenne.configuration.xml
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.mysql
MySQL 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.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
  Modifier and Type
  Field
  Description
  `protected DbEntity`
  OptimisticLockException.`rootEntity`
  Fields in org.apache.cayenne.access with type parameters of type DbEntity
  Modifier and Type
  Field
  Description
  `protected List<DbEntity>`
  DbGenerator.`dbEntitiesInInsertOrder`
  Contains all DbEntities ordered considering their interdependencies.
  `protected List<DbEntity>`
  DbGenerator.`dbEntitiesRequiringAutoPK`
  Methods in org.apache.cayenne.access with parameters of type DbEntity
  Modifier and Type
  Method
  Description
  `List<String>`
  DbGenerator.`createConstraintsQueries(DbEntity table)`
  Creates FK and UNIQUE constraint statements for a given table.
  Constructors in org.apache.cayenne.access with parameters of type DbEntity
  Modifier
  Constructor
  Description
  ``
  `OptimisticLockException(ObjectId id, DbEntity rootEntity, String querySQL, Map qualifierSnapshot)`
  Constructor parameters in org.apache.cayenne.access with type arguments of type DbEntity
  Modifier
  Constructor
  Description
  ``
  `DbGenerator(DbAdapter adapter, DataMap map, Collection<DbEntity> excludedEntities, DataDomain domain, JdbcEventLogger logger)`
  Creates and initializes new DbGenerator instance.
  ``
  `DbGenerator(DbAdapter adapter, DataMap map, JdbcEventLogger logger, Collection<DbEntity> excludedEntities)`

- ## Uses of DbEntity in org.apache.cayenne.access.flush.operation

  Fields in org.apache.cayenne.access.flush.operation declared as DbEntity
  Modifier and Type
  Field
  Description
  `protected final DbEntity`
  BaseDbRowOp.`entity`
  Methods in org.apache.cayenne.access.flush.operation that return DbEntity
  Modifier and Type
  Method
  Description
  `DbEntity`
  BaseDbRowOp.`getEntity()`
  `DbEntity`
  DbRowOp.`getEntity()`
  Constructors in org.apache.cayenne.access.flush.operation with parameters of type DbEntity
  Modifier
  Constructor
  Description
  `protected`
  `BaseDbRowOp(Persistent object, DbEntity entity, ObjectId id)`
  ``
  `DeleteDbRowOp(Persistent object, DbEntity entity, ObjectId id)`
  ``
  `InsertDbRowOp(Persistent object, DbEntity entity, ObjectId id)`
  ``
  `UpdateDbRowOp(Persistent object, DbEntity entity, ObjectId id)`

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

  Fields in org.apache.cayenne.access.jdbc declared as DbEntity
  Modifier and Type
  Field
  Description
  `protected DbEntity`
  SQLTemplateAction.`dbEntity`
  `protected DbEntity`
  DistinctResultIterator.`defaultEntity`
  Constructors in org.apache.cayenne.access.jdbc with parameters of type DbEntity
  Modifier
  Constructor
  Description
  ``
  `DistinctResultIterator(ResultIterator<T> delegate, DbEntity defaultEntity, boolean compareFullRows)`
  Creates new DistinctResultIterator wrapping another ResultIterator.

- ## Uses of DbEntity in org.apache.cayenne.access.sqlbuilder

  Methods in org.apache.cayenne.access.sqlbuilder that return DbEntity
  Modifier and Type
  Method
  Description
  `DbEntity`
  SQLGenerationContext.`getRootDbEntity()`
  Methods in org.apache.cayenne.access.sqlbuilder with parameters of type DbEntity
  Modifier and Type
  Method
  Description
  `static DeleteBuilder`
  SQLBuilder.`delete(DbEntity table)`
  `static InsertBuilder`
  SQLBuilder.`insert(DbEntity table)`
  `static TableNodeBuilder`
  SQLBuilder.`table(DbEntity table)`
  `static UpdateBuilder`
  SQLBuilder.`update(DbEntity table)`
  Constructors in org.apache.cayenne.access.sqlbuilder with parameters of type DbEntity
  Modifier
  Constructor
  Description
  ``
  `DeleteBuilder(DbEntity table)`
  ``
  `InsertBuilder(DbEntity table)`
  ``
  `UpdateBuilder(DbEntity table)`

- ## Uses of DbEntity in org.apache.cayenne.access.sqlbuilder.sqltree

  Constructors in org.apache.cayenne.access.sqlbuilder.sqltree with parameters of type DbEntity
  Modifier
  Constructor
  Description
  ``
  `TableNode(DbEntity dbEntity, String alias)`

- ## Uses of DbEntity in org.apache.cayenne.access.translator.ejbql

  Fields in org.apache.cayenne.access.translator.ejbql declared as DbEntity
  Modifier and Type
  Field
  Description
  `protected DbEntity`
  EJBQLDbPathTranslator.`currentEntity`

- ## Uses of DbEntity in org.apache.cayenne.access.translator.select

  Methods in org.apache.cayenne.access.translator.select that return DbEntity
  Modifier and Type
  Method
  Description
  `DbEntity`
  TranslatorContext.`getRootDbEntity()`

- ## Uses of DbEntity in org.apache.cayenne.ashwood

  Fields in org.apache.cayenne.ashwood with type parameters of type DbEntity
  Modifier and Type
  Field
  Description
  `protected Map<DbEntity, org.apache.cayenne.ashwood.AshwoodEntitySorter.ComponentRecord>`
  AshwoodEntitySorter.`components`
  `protected Comparator<DbEntity>`
  AshwoodEntitySorter.`dbEntityComparator`
  `protected Map<DbEntity,Integer>`
  WeightedAshwoodEntitySorter.`entityWeights`
  `protected Map<DbEntity, List<DbRelationship>>`
  AshwoodEntitySorter.`reflexiveDbEntities`
  Methods in org.apache.cayenne.ashwood that return types with arguments of type DbEntity
  Modifier and Type
  Method
  Description
  `Comparator<DbEntity>`
  AshwoodEntitySorter.`getDbEntityComparator()`
  `protected Comparator<DbEntity>`
  AshwoodEntitySorter.`getDbEntityComparator(boolean dependantFirst)`
  `protected Comparator<DbEntity>`
  WeightedAshwoodEntitySorter.`getDbEntityComparator(boolean dependantFirst)`
  Methods in org.apache.cayenne.ashwood with parameters of type DbEntity
  Modifier and Type
  Method
  Description
  `boolean`
  AshwoodEntitySorter.`isReflexive(DbEntity metadata)`
  Method parameters in org.apache.cayenne.ashwood with type arguments of type DbEntity
  Modifier and Type
  Method
  Description
  `void`
  AshwoodEntitySorter.`sortDbEntities(List<DbEntity> dbEntities, boolean deleteOrder)`

- ## Uses of DbEntity in org.apache.cayenne.configuration

  Methods in org.apache.cayenne.configuration with parameters of type DbEntity
  Modifier and Type
  Method
  Description
  `T`
  BaseConfigurationNodeVisitor.`visitDbEntity(DbEntity entity)`
  `T`
  ConfigurationNodeVisitor.`visitDbEntity(DbEntity entity)`
  `Void`
  EmptyConfigurationNodeVisitor.`visitDbEntity(DbEntity entity)`

- ## Uses of DbEntity in org.apache.cayenne.configuration.xml

  Methods in org.apache.cayenne.configuration.xml that return DbEntity
  Modifier and Type
  Method
  Description
  `DbEntity`
  DbEntityHandler.`getEntity()`
  Constructors in org.apache.cayenne.configuration.xml with parameters of type DbEntity
  Modifier
  Constructor
  Description
  ``
  `DbKeyGeneratorHandler(NamespaceAwareNestedTagHandler parentHandler, DbEntity entity)`

- ## Uses of DbEntity in org.apache.cayenne.dba

  Methods in org.apache.cayenne.dba with parameters of type DbEntity
  Modifier and Type
  Method
  Description
  `String`
  AutoAdapter.`createTable(DbEntity entity)`
  `String`
  DbAdapter.`createTable(DbEntity entity)`
  Returns a SQL string that can be used to create database table corresponding to `entity` parameter.
  `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(StringBuffer sqlBuffer, DbEntity entity)`
  `String`
  AutoAdapter.`createUniqueConstraint(DbEntity source, Collection<DbAttribute> columns)`
  `String`
  DbAdapter.`createUniqueConstraint(DbEntity source, 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.
  `String`
  JdbcAdapter.`createUniqueConstraint(DbEntity source, Collection<DbAttribute> columns)`
  Returns a DDL string to create a unique constraint over a set of columns.
  `Collection<String>`
  AutoAdapter.`dropTableStatements(DbEntity table)`
  `Collection<String>`
  DbAdapter.`dropTableStatements(DbEntity table)`
  Returns a collection of SQL statements needed to drop a database table.
  `Collection<String>`
  JdbcAdapter.`dropTableStatements(DbEntity table)`
  `protected long`
  JdbcPkGenerator.`longPkFromDatabase(DataNode node, DbEntity entity)`
  Performs primary key generation ignoring cache.
  `String`
  DefaultQuotingStrategy.`quotedFullyQualifiedName(DbEntity entity)`
  `String`
  QuotingStrategy.`quotedFullyQualifiedName(DbEntity entity)`
  Builds a fully qualified name from catalog, schema, name parts of DbEntity, enclosing them in quotations according to this strategy algorithm.
  `default void`
  QuotingStrategy.`quotedIdentifier(DbEntity entity, CharSequence identifier, Appendable appender)`
  Append quoted identifier to provided appender
  `default String`
  QuotingStrategy.`quotedIdentifier(DbEntity entity, String... identifierParts)`
  Method parameters in org.apache.cayenne.dba with type arguments of type DbEntity
  Modifier and Type
  Method
  Description
  `void`
  JdbcPkGenerator.`createAutoPk(DataNode node, List<DbEntity> dbEntities)`
  `void`
  PkGenerator.`createAutoPk(DataNode node, List<DbEntity> dbEntities)`
  Generates necessary database objects to provide automatic primary key support.
  `List<String>`
  JdbcPkGenerator.`createAutoPkStatements(List<DbEntity> dbEntities)`
  `List<String>`
  PkGenerator.`createAutoPkStatements(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, List<DbEntity> dbEntities)`
  Drops table named "AUTO_PK_SUPPORT" if it exists in the database.
  `void`
  PkGenerator.`dropAutoPk(DataNode node, List<DbEntity> dbEntities)`
  Drops any common database objects associated with automatic primary key generation process.
  `List<String>`
  JdbcPkGenerator.`dropAutoPkStatements(List<DbEntity> dbEntities)`
  `List<String>`
  PkGenerator.`dropAutoPkStatements(List<DbEntity> dbEntities)`
  Returns SQL string needed to drop database objects associated with automatic primary key generation.
  `protected String`
  JdbcPkGenerator.`pkDeleteString(List<DbEntity> dbEntities)`

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

  Methods in org.apache.cayenne.dba.db2 with parameters of type DbEntity
  Modifier and Type
  Method
  Description
  `protected String`
  DB2PkGenerator.`createSequenceString(DbEntity entity)`
  `protected String`
  DB2PkGenerator.`dropSequenceString(DbEntity entity)`
  `protected String`
  DB2PkGenerator.`sequenceName(DbEntity entity)`

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

  Methods in org.apache.cayenne.dba.derby with parameters of type DbEntity
  Modifier and Type
  Method
  Description
  `protected String`
  DerbyPkGenerator.`createSequenceString(DbEntity entity)`
  `protected String`
  DerbyPkGenerator.`dropSequenceString(DbEntity entity)`
  `protected String`
  DerbyPkGenerator.`sequenceName(DbEntity entity)`

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

  Methods in org.apache.cayenne.dba.frontbase with parameters of type DbEntity
  Modifier and Type
  Method
  Description
  `String`
  FrontBaseAdapter.`createTable(DbEntity ent)`
  Customizes table creating procedure for FrontBase.
  `Collection<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
  Modifier and Type
  Method
  Description
  `void`
  FrontBasePkGenerator.`createAutoPk(DataNode node, List<DbEntity> dbEntities)`
  `List<String>`
  FrontBasePkGenerator.`createAutoPkStatements(List<DbEntity> dbEntities)`
  `void`
  FrontBasePkGenerator.`dropAutoPk(DataNode node, List<DbEntity> dbEntities)`
  `protected String`
  FrontBasePkGenerator.`pkDeleteString(List<DbEntity> dbEntities)`

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

  Methods in org.apache.cayenne.dba.h2 with parameters of type DbEntity
  Modifier and Type
  Method
  Description
  `protected String`
  H2PkGenerator.`createSequenceString(DbEntity ent)`

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

  Methods in org.apache.cayenne.dba.hsqldb with parameters of type DbEntity
  Modifier and Type
  Method
  Description
  `String`
  HSQLDBAdapter.`createTable(DbEntity ent)`
  Uses "CREATE CACHED TABLE" instead of "CREATE TABLE".
  `String`
  HSQLDBNoSchemaAdapter.`createTable(DbEntity ent)`
  Uses unqualified entity names.
  `String`
  HSQLDBAdapter.`createUniqueConstraint(DbEntity source, Collection<DbAttribute> columns)`
  Returns a DDL string to create a unique constraint over a set of columns.
  `Collection<String>`
  HSQLDBNoSchemaAdapter.`dropTableStatements(DbEntity table)`
  `protected String`
  HSQLDBAdapter.`getSchemaName(DbEntity entity)`
  Returns DbEntity schema name for 1.8 and on.
  `protected String`
  HSQLDBNoSchemaAdapter.`getSchemaName(DbEntity entity)`
  Returns NULL.
  `protected String`
  HSQLDBAdapter.`getTableName(DbEntity entity)`
  Generate fully-qualified name for 1.8 and on.
  `protected String`
  HSQLDBNoSchemaAdapter.`getTableName(DbEntity entity)`
  Generate unqualified name without schema.

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

  Methods in org.apache.cayenne.dba.mysql with parameters of type DbEntity
  Modifier and Type
  Method
  Description
  `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(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.
  `Collection<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.oracle

  Methods in org.apache.cayenne.dba.oracle with parameters of type DbEntity
  Modifier and Type
  Method
  Description
  `protected String`
  OraclePkGenerator.`createSequenceString(DbEntity ent)`
  `protected 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.
  `Collection<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 String`
  OraclePkGenerator.`sequenceName(DbEntity entity)`
  Returns expected primary key sequence name for a DbEntity.
  Method parameters in org.apache.cayenne.dba.oracle with type arguments of type DbEntity
  Modifier and Type
  Method
  Description
  `void`
  OraclePkGenerator.`createAutoPk(DataNode node, List<DbEntity> dbEntities)`
  `List<String>`
  OraclePkGenerator.`createAutoPkStatements(List<DbEntity> dbEntities)`
  Creates a list of CREATE SEQUENCE statements for the list of DbEntities.
  `void`
  OraclePkGenerator.`dropAutoPk(DataNode node, List<DbEntity> dbEntities)`
  Drops PK sequences for all specified DbEntities.
  `List<String>`
  OraclePkGenerator.`dropAutoPkStatements(List<DbEntity> dbEntities)`
  Creates a list of DROP SEQUENCE statements for the list of DbEntities.

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

  Methods in org.apache.cayenne.dba.postgres with parameters of type DbEntity
  Modifier and Type
  Method
  Description
  `protected String`
  PostgresPkGenerator.`createSequenceString(DbEntity ent)`
  `String`
  PostgresAdapter.`createTable(DbEntity ent)`
  Customizes table creating procedure for PostgreSQL.
  `Collection<String>`
  PostgresAdapter.`dropTableStatements(DbEntity table)`
  Adds the CASCADE option to the DROP TABLE clause.

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

  Methods in org.apache.cayenne.dba.sqlite with parameters of type DbEntity
  Modifier and Type
  Method
  Description
  `protected void`
  SQLiteAdapter.`createTableAppendPKClause(StringBuffer sqlBuffer, DbEntity entity)`
  `String`
  SQLiteAdapter.`createUniqueConstraint(DbEntity source, Collection<DbAttribute> columns)`

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

  Methods in org.apache.cayenne.dba.sqlserver with parameters of type DbEntity
  Modifier and Type
  Method
  Description
  `protected String`
  SQLServerPkGenerator.`createSequenceString(DbEntity ent)`
  `String`
  SQLServerAdapter.`createUniqueConstraint(DbEntity source, Collection<DbAttribute> columns)`
  Generates DDL to create unique index that allows multiple NULL values to comply with ANSI SQL, that is default behaviour for other RDBMS.
  `protected String`
  SQLServerPkGenerator.`guidPkFromDatabase(DataNode node, DbEntity entity)`
  `protected String`
  SQLServerPkGenerator.`sequenceName(DbEntity entity)`
  Method parameters in org.apache.cayenne.dba.sqlserver with type arguments of type DbEntity
  Modifier and Type
  Method
  Description
  `List<String>`
  SQLServerPkGenerator.`createAutoPkStatements(List<DbEntity> dbEntities)`
  `List<String>`
  SQLServerPkGenerator.`dropAutoPkStatements(List<DbEntity> dbEntities)`

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

  Methods in org.apache.cayenne.dba.sybase with parameters of type DbEntity
  Modifier and Type
  Method
  Description
  `protected long`
  SybasePkGenerator.`longPkFromDatabase(DataNode node, DbEntity entity)`
  Method parameters in org.apache.cayenne.dba.sybase with type arguments of type DbEntity
  Modifier and Type
  Method
  Description
  `void`
  SybasePkGenerator.`createAutoPk(DataNode node, List<DbEntity> dbEntities)`
  Generates database objects to provide automatic primary key support.
  `List<String>`
  SybasePkGenerator.`createAutoPkStatements(List<DbEntity> dbEntities)`
  `void`
  SybasePkGenerator.`dropAutoPk(DataNode node, List<DbEntity> dbEntities)`
  Drops database objects related to automatic primary key support.
  `List<String>`
  SybasePkGenerator.`dropAutoPkStatements(List<DbEntity> dbEntities)`

- ## Uses of DbEntity in org.apache.cayenne.map

  Subclasses with type arguments of type DbEntity in org.apache.cayenne.map
  Modifier and Type
  Class
  Description
  `class`
  `DbAttribute`
  A DbAttribute defines a descriptor for a single database table column.
  `class`
  `DbEntity`
  A DbEntity is a mapping descriptor that defines a structure of a database table.
  `class`
  `DbRelationship`
  A DbRelationship is a descriptor of a database inter-table relationship based on one or more primary key/foreign key pairs.
  Fields in org.apache.cayenne.map declared as DbEntity
  Modifier and Type
  Field
  Description
  `protected DbEntity`
  DbKeyGenerator.`dbEntity`
  Methods in org.apache.cayenne.map that return DbEntity
  Modifier and Type
  Method
  Description
  `DbEntity`
  DataMap.`getDbEntity(String dbEntityName)`
  Returns DbEntity matching the `name` parameter.
  `DbEntity`
  DbKeyGenerator.`getDbEntity()`
  `DbEntity`
  EntityResolver.`getDbEntity(String name)`
  `DbEntity`
  MappingNamespace.`getDbEntity(String name)`
  Returns DbEntity for a given name, or null if no such DbEntity is found in the MappingNamespace.
  `DbEntity`
  ObjEntity.`getDbEntity()`
  Returns a DbEntity associated with this ObjEntity.
  `DbEntity`
  DbAttribute.`getEntity()`
  `DbEntity`
  DbRelationship.`getTargetEntity()`
  Returns a target of this relationship.
  Methods in org.apache.cayenne.map that return types with arguments of type DbEntity
  Modifier and Type
  Method
  Description
  `Collection<DbEntity>`
  DataMap.`getDbEntities()`
  Returns all DbEntities in this DataMap.
  `Collection<DbEntity>`
  EntityResolver.`getDbEntities()`
  Returns all DbEntities.
  `Collection<DbEntity>`
  MappingNamespace.`getDbEntities()`
  Returns all DbEntities in the namespace.
  `Comparator<DbEntity>`
  EntitySorter.`getDbEntityComparator()`
  `Map<String,DbEntity>`
  DataMap.`getDbEntityMap()`
  Returns a unmodifiable map of DbEntities contained in this DataMap, keyed by DbEntity name.
  Methods in org.apache.cayenne.map with parameters of type DbEntity
  Modifier and Type
  Method
  Description
  `void`
  DataMap.`addDbEntity(DbEntity entity)`
  Adds a new DbEntity to this DataMap.
  `Collection<ObjEntity>`
  DataMap.`getMappedEntities(DbEntity dbEntity)`
  Returns all ObjEntities mapped to the given DbEntity.
  `boolean`
  EntitySorter.`isReflexive(DbEntity entity)`
  `void`
  DataMap.`renameDbEntity(DbEntity entity, String newName)`
  Renames a `DbEntity` that belongs to this DataMap, re-keying the entity map and fixing up dependent references (incoming DbRelationship targets, ObjEntity dbEntityNames) and refreshing the parent namespace cache.
  `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
  Modifier and Type
  Method
  Description
  `void`
  EntitySorter.`sortDbEntities(List<DbEntity> dbEntities, boolean deleteOrder)`
  Sorts a list of DbEntities.
  Constructors in org.apache.cayenne.map with parameters of type DbEntity
  Modifier
  Constructor
  Description
  ``
  `DbAttribute(String name, int type, DbEntity entity)`

- ## Uses of DbEntity in org.apache.cayenne.query

  Fields in org.apache.cayenne.query declared as DbEntity
  Modifier and Type
  Field
  Description
  `protected DbEntity`
  BatchQuery.`dbEntity`
  Methods in org.apache.cayenne.query that return DbEntity
  Modifier and Type
  Method
  Description
  `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.
  `DbEntity`
  QueryMetadataProxy.`getDbEntity()`
  Constructors in org.apache.cayenne.query with parameters of type DbEntity
  Modifier
  Constructor
  Description
  ``
  `BatchQuery(DbEntity dbEntity, List<DbAttribute> dbAttributes, int batchCapacity)`
  ``
  `DeleteBatchQuery(DbEntity dbEntity, List<DbAttribute> qualifierAttributes, Collection<String> nullQualifierNames, int batchCapacity)`
  Creates new DeleteBatchQuery.
  ``
  `InsertBatchQuery(DbEntity entity, int batchCapacity)`
  Creates new InsertBatchQuery for a given DbEntity and estimated capacity.
  ``
  `SQLTemplate(DbEntity rootEntity, String defaultTemplate)`
  ``
  `UpdateBatchQuery(DbEntity dbEntity, List<DbAttribute> qualifierAttributes, List<DbAttribute> updatedAttributes, Collection<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
  Modifier and Type
  Field
  Description
  `protected Collection<DbEntity>`
  PersistentDescriptor.`rootDbEntities`
  Methods in org.apache.cayenne.reflect that return DbEntity
  Modifier and Type
  Method
  Description
  `DbEntity`
  AdditionalDbEntityDescriptor.`getDbEntity()`
  Methods in org.apache.cayenne.reflect that return types with arguments of type DbEntity
  Modifier and Type
  Method
  Description
  `Collection<DbEntity>`
  ClassDescriptor.`getRootDbEntities()`
  Returns a collection of DbEntities that are the root tables for this descriptor's ObjEntity.
  `Collection<DbEntity>`
  LazyClassDescriptorDecorator.`getRootDbEntities()`
  `Collection<DbEntity>`
  PersistentDescriptor.`getRootDbEntities()`
  Methods in org.apache.cayenne.reflect with parameters of type DbEntity
  Modifier and Type
  Method
  Description
  `void`
  PersistentDescriptor.`addRootDbEntity(DbEntity dbEntity)`
  Adds a root DbEntity to the list of roots, filtering duplicates.