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

Packages that use DbAttribute
Package
Description
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.batch
org.apache.cayenne.access.translator.ejbql
org.apache.cayenne.access.translator.select
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.derby.sqltree
org.apache.cayenne.dba.firebird
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.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.

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

  Fields in org.apache.cayenne.access.flush.operation with type parameters of type DbAttribute
  Modifier and Type
  Field
  Description
  `protected Map<DbAttribute, Object>`
  Qualifier.`additionalQualifier`
  `protected List<DbAttribute>`
  Values.`updatedAttributes`
  Methods in org.apache.cayenne.access.flush.operation that return types with arguments of type DbAttribute
  Modifier and Type
  Method
  Description
  `List<DbAttribute>`
  Qualifier.`getQualifierAttributes()`
  `List<DbAttribute>`
  Values.`getUpdatedAttributes()`
  Methods in org.apache.cayenne.access.flush.operation with parameters of type DbAttribute
  Modifier and Type
  Method
  Description
  `void`
  Qualifier.`addAdditionalQualifier(DbAttribute dbAttribute, Object value)`
  `void`
  Qualifier.`addAdditionalQualifier(DbAttribute dbAttribute, Object value, boolean optimisticLock)`
  `void`
  Values.`addValue(DbAttribute attribute, Object value, boolean fk)`
  Constructors in org.apache.cayenne.access.flush.operation with parameters of type DbAttribute
  Modifier
  Constructor
  Description
  ``
  `SoftDeleteDbRowOp(Persistent object, DbEntity entity, ObjectId id, DbAttribute deletedAttribute)`

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

  Methods in org.apache.cayenne.access.jdbc that return DbAttribute
  Modifier and Type
  Method
  Description
  `DbAttribute`
  PSBatchParameter.`attribute()`
  Returns the value of the `attribute` record component.
  `DbAttribute`
  PSParameter.`attribute()`
  Returns the value of the `attribute` record component.
  `DbAttribute`
  RSColumn.`attribute()`
  Returns the value of the `attribute` record component.
  Constructors in org.apache.cayenne.access.jdbc with parameters of type DbAttribute
  Modifier
  Constructor
  Description
  ``
  `PSBatchParameter(Object[] values, int psPosition, int psType, int psScale, DbAttribute attribute)`
  Creates an instance of a `PSBatchParameter` record class.
  ``
  `PSParameter(T value, int psPosition, int psType, int psScale, ExtendedType<T> binder, DbAttribute attribute)`
  Creates an instance of a `PSParameter` record class.
  ``
  `RSColumn(String rsName, int rsType, String dataRowName, ExtendedType<?> reader, DbAttribute attribute)`
  Creates an instance of a `RSColumn` record class.

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

  Methods in org.apache.cayenne.access.sqlbuilder with parameters of type DbAttribute
  Modifier and Type
  Method
  Description
  `ColumnNodeBuilder`
  ColumnNodeBuilder.`attribute(DbAttribute attribute)`
  `ValueNodeBuilder`
  ValueNodeBuilder.`attribute(DbAttribute attribute)`
  `ColumnNodeBuilder`
  TableNodeBuilder.`column(DbAttribute attribute)`

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

  Fields in org.apache.cayenne.access.sqlbuilder.sqltree declared as DbAttribute
  Modifier and Type
  Field
  Description
  `protected final DbAttribute`
  ColumnNode.`attribute`
  Methods in org.apache.cayenne.access.sqlbuilder.sqltree that return DbAttribute
  Modifier and Type
  Method
  Description
  `DbAttribute`
  ColumnNode.`getAttribute()`
  `DbAttribute`
  ValueNode.`getAttribute()`
  Constructors in org.apache.cayenne.access.sqlbuilder.sqltree with parameters of type DbAttribute
  Modifier
  Constructor
  Description
  ``
  `ColumnNode(String table, String column, String alias, DbAttribute attribute)`
  ``
  `ValueNode(Object value, boolean isArray, DbAttribute attribute, boolean needBinding)`
  Constructor parameters in org.apache.cayenne.access.sqlbuilder.sqltree with type arguments of type DbAttribute
  Modifier
  Constructor
  Description
  ``
  `PerAttributeChildProcessor(Function<T, DbAttribute> attributeMapper, Function<DbAttribute, ChildProcessor<T>> processorFactory)`

- ## Uses of DbAttribute in org.apache.cayenne.access.translator.batch

  Methods in org.apache.cayenne.access.translator.batch with parameters of type DbAttribute
  Modifier and Type
  Method
  Description
  `protected boolean`
  InsertBatchTranslator.`excludeInBatch(org.apache.cayenne.access.translator.batch.BatchTranslatorContext<InsertBatchQuery> context, DbAttribute attribute)`
  `protected abstract boolean`
  BaseBatchTranslator.`isNullAttribute(org.apache.cayenne.access.translator.batch.BatchTranslatorContext<T> context, DbAttribute attribute)`
  `protected boolean`
  DeleteBatchTranslator.`isNullAttribute(org.apache.cayenne.access.translator.batch.BatchTranslatorContext<DeleteBatchQuery> context, DbAttribute attribute)`
  `protected boolean`
  InsertBatchTranslator.`isNullAttribute(org.apache.cayenne.access.translator.batch.BatchTranslatorContext<InsertBatchQuery> context, DbAttribute attribute)`
  `protected boolean`
  UpdateBatchTranslator.`isNullAttribute(org.apache.cayenne.access.translator.batch.BatchTranslatorContext<UpdateBatchQuery> context, DbAttribute attribute)`
  Method parameters in org.apache.cayenne.access.translator.batch with type arguments of type DbAttribute
  Modifier and Type
  Method
  Description
  `protected ExpressionNodeBuilder`
  BaseBatchTranslator.`buildQualifier(org.apache.cayenne.access.translator.batch.BatchTranslatorContext<T> context, List<DbAttribute> attributeList)`

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

  Methods in org.apache.cayenne.access.translator.ejbql with parameters of type DbAttribute
  Modifier and Type
  Method
  Description
  `void`
  EJBQLSelectColumnsTranslator.`appendColumn(String javaType, String alias, DbAttribute dbAttribute, String columnAlias)`
  `protected void`
  EJBQLDbPathTranslator.`processTerminatingAttribute(DbAttribute attribute)`

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

  Methods in org.apache.cayenne.access.translator.select that return DbAttribute
  Modifier and Type
  Method
  Description
  `protected DbAttribute`
  TypeAwareSQLTreeProcessor.`getColumnAttribute(ColumnNode node)`
  `protected DbAttribute`
  TypeAwareSQLTreeProcessor.`getValueAttribute(ValueNode node)`
  Methods in org.apache.cayenne.access.translator.select with parameters of type DbAttribute
  Modifier and Type
  Method
  Description
  `protected ChildProcessor<ColumnNode>`
  TypeAwareSQLTreeProcessor.`getColumnProcessor(DbAttribute attr)`
  `protected static Optional<ObjAttribute>`
  TypeAwareSQLTreeProcessor.`getObjAttributeFor(DbAttribute dbAttribute)`
  `protected ChildProcessor<ValueNode>`
  TypeAwareSQLTreeProcessor.`getValueProcessor(DbAttribute attr)`

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

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

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

  Methods in org.apache.cayenne.configuration.xml that return DbAttribute
  Modifier and Type
  Method
  Description
  `DbAttribute`
  DbEntityHandler.`getLastAttribute()`

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

  Methods in org.apache.cayenne.dba that return DbAttribute
  Modifier and Type
  Method
  Description
  `DbAttribute`
  AutoAdapter.`buildAttribute(String name, String typeName, int type, int size, int precision, boolean allowNulls)`
  `DbAttribute`
  DbAdapter.`buildAttribute(String name, String typeName, int type, int size, int scale, boolean allowNulls)`
  Creates and returns a DbAttribute based on supplied parameters (usually obtained from database metadata).
  `DbAttribute`
  JdbcAdapter.`buildAttribute(String name, String typeName, int type, int maxLength, int scale, boolean allowNulls)`
  Methods in org.apache.cayenne.dba with parameters of type DbAttribute
  Modifier and Type
  Method
  Description
  `void`
  AutoAdapter.`createTableAppendColumn(StringBuffer sqlBuffer, DbAttribute column)`
  `void`
  DbAdapter.`createTableAppendColumn(StringBuffer sqlBuffer, DbAttribute column)`
  Append the column type part of a "create table" to the given `StringBuffer`
  `void`
  JdbcAdapter.`createTableAppendColumn(StringBuffer sqlBuffer, DbAttribute column)`
  Appends SQL for column creation to CREATE TABLE buffer.
  `Object`
  JdbcPkGenerator.`generatePk(DataNode node, DbAttribute pk, Class<?> javaType)`
  `default Object`
  PkGenerator.`generatePk(DataNode dataNode, DbAttribute pk)`
  Deprecated, for removal: This API element is subject to removal in a future version.
  unused by the framework that relies on `PkGenerator.generatePk(DataNode, DbAttribute, Class)`
  `Object`
  PkGenerator.`generatePk(DataNode dataNode, DbAttribute pk, Class<?> javaType)`
  Generates a unique and non-repeating primary key for the specified PK attribute
  `static String`
  TypesMapping.`getJavaBySqlType(DbAttribute attribute)`
  `static String`
  JdbcAdapter.`getType(DbAdapter adapter, DbAttribute column)`
  Deprecated, for removal: This API element is subject to removal in a future version.
  in favor of `DbAdapter.preferredNativeColumnType(DbAttribute)`
  `default NativeColumnType`
  DbAdapter.`preferredNativeColumnType(DbAttribute column)`
  `static String`
  JdbcAdapter.`sizeAndPrecision(DbAdapter adapter, DbAttribute column)`
  Deprecated, for removal: This API element is subject to removal in a future version.
  in favor of `JdbcAdapter.sizeAndScale(DbAdapter, DbAttribute)`
  `static String`
  JdbcAdapter.`sizeAndScale(DbAdapter adapter, DbAttribute column)`
  Method parameters in org.apache.cayenne.dba with type arguments of type DbAttribute
  Modifier and Type
  Method
  Description
  `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.

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

  Methods in org.apache.cayenne.dba.db2 with parameters of type DbAttribute
  Modifier and Type
  Method
  Description
  `void`
  DB2Adapter.`createTableAppendColumn(StringBuffer sqlBuffer, DbAttribute column)`

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

  Methods in org.apache.cayenne.dba.derby with parameters of type DbAttribute
  Modifier and Type
  Method
  Description
  `void`
  DerbyAdapter.`createTableAppendColumn(StringBuffer sqlBuffer, DbAttribute column)`
  Appends SQL for column creation to CREATE TABLE buffer.

- ## Uses of DbAttribute in org.apache.cayenne.dba.derby.sqltree

  Constructors in org.apache.cayenne.dba.derby.sqltree with parameters of type DbAttribute
  Modifier
  Constructor
  Description
  ``
  `DerbyValueNode(Object value, boolean isArray, DbAttribute attribute, boolean needBinding)`

- ## Uses of DbAttribute in org.apache.cayenne.dba.firebird

  Methods in org.apache.cayenne.dba.firebird with parameters of type DbAttribute
  Modifier and Type
  Method
  Description
  `void`
  FirebirdAdapter.`createTableAppendColumn(StringBuffer sqlBuffer, DbAttribute column)`

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

  Methods in org.apache.cayenne.dba.h2 that return DbAttribute
  Modifier and Type
  Method
  Description
  `DbAttribute`
  H2Adapter.`buildAttribute(String name, String typeName, int type, int maxLength, int scale, boolean allowNulls)`
  Methods in org.apache.cayenne.dba.h2 with parameters of type DbAttribute
  Modifier and Type
  Method
  Description
  `void`
  H2Adapter.`createTableAppendColumn(StringBuffer sqlBuffer, DbAttribute column)`

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

  Methods in org.apache.cayenne.dba.hsqldb with parameters of type DbAttribute
  Modifier and Type
  Method
  Description
  `void`
  HSQLDBAdapter.`createTableAppendColumn(StringBuffer sqlBuffer, DbAttribute column)`
  Method parameters in org.apache.cayenne.dba.hsqldb with type arguments of type DbAttribute
  Modifier and Type
  Method
  Description
  `String`
  HSQLDBAdapter.`createUniqueConstraint(DbEntity source, Collection<DbAttribute> columns)`
  Returns a DDL string to create a unique constraint over a set of columns.

- ## Uses of DbAttribute in org.apache.cayenne.dba.ingres

  Methods in org.apache.cayenne.dba.ingres with parameters of type DbAttribute
  Modifier and Type
  Method
  Description
  `void`
  IngresAdapter.`createTableAppendColumn(StringBuffer buf, DbAttribute column)`

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

  Methods in org.apache.cayenne.dba.mysql that return DbAttribute
  Modifier and Type
  Method
  Description
  `DbAttribute`
  MySQLAdapter.`buildAttribute(String name, String typeName, int type, int maxLength, int scale, boolean allowNulls)`
  Methods in org.apache.cayenne.dba.mysql with parameters of type DbAttribute
  Modifier and Type
  Method
  Description
  `void`
  MySQLAdapter.`createTableAppendColumn(StringBuffer sqlBuffer, DbAttribute column)`
  Appends AUTO_INCREMENT clause to the column definition for generated columns.

- ## Uses of DbAttribute in org.apache.cayenne.dba.oracle

  Methods in org.apache.cayenne.dba.oracle that return DbAttribute
  Modifier and Type
  Method
  Description
  `DbAttribute`
  OracleAdapter.`buildAttribute(String name, String typeName, int type, int maxLength, int scale, boolean allowNulls)`
  Fixes some reverse engineering problems.

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

  Methods in org.apache.cayenne.dba.postgres that return DbAttribute
  Modifier and Type
  Method
  Description
  `DbAttribute`
  PostgresAdapter.`buildAttribute(String name, String typeName, int type, int maxLength, int scale, boolean allowNulls)`

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

  Methods in org.apache.cayenne.dba.sqlite with parameters of type DbAttribute
  Modifier and Type
  Method
  Description
  `void`
  SQLiteAdapter.`createTableAppendColumn(StringBuffer sqlBuffer, DbAttribute column)`
  Appends AUTOINCREMENT clause to the column definition for generated columns.
  Method parameters in org.apache.cayenne.dba.sqlite with type arguments of type DbAttribute
  Modifier and Type
  Method
  Description
  `String`
  SQLiteAdapter.`createUniqueConstraint(DbEntity source, Collection<DbAttribute> columns)`

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

  Methods in org.apache.cayenne.dba.sqlserver with parameters of type DbAttribute
  Modifier and Type
  Method
  Description
  `void`
  SQLServerAdapter.`createTableAppendColumn(StringBuffer sqlBuffer, DbAttribute column)`
  Overrides super implementation to correctly set up identity columns.
  Method parameters in org.apache.cayenne.dba.sqlserver with type arguments of type DbAttribute
  Modifier and Type
  Method
  Description
  `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.

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

  Methods in org.apache.cayenne.dba.sybase with parameters of type DbAttribute
  Modifier and Type
  Method
  Description
  `void`
  SybaseAdapter.`createTableAppendColumn(StringBuffer sqlBuffer, DbAttribute column)`
  Overrides super implementation to correctly set up identity columns.

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

  Subclasses with type arguments of type DbAttribute 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 with type parameters of type DbAttribute
  Modifier and Type
  Field
  Description
  `protected Collection<DbAttribute>`
  DbEntity.`generatedAttributes`
  `protected List<DbAttribute>`
  DbEntity.`primaryKey`
  Methods in org.apache.cayenne.map that return DbAttribute
  Modifier and Type
  Method
  Description
  `DbAttribute`
  ObjAttribute.`getDbAttribute()`
  Returns a DbAttribute mapped by this ObjAttribute.
  `DbAttribute`
  DbJoin.`getSource()`
  Returns DbAttribute on on the left side of the join.
  `DbAttribute`
  DbJoin.`getTarget()`
  Methods in org.apache.cayenne.map that return types with arguments of type DbAttribute
  Modifier and Type
  Method
  Description
  `Collection<DbAttribute>`
  DbEntity.`getGeneratedAttributes()`
  Returns an unmodifiable collection of DbAttributes that are generated by the database.
  `List<DbAttribute>`
  DbEntity.`getPrimaryKeys()`
  Returns an unmodifiable collection of DbAttributes representing the primary key of the table described by this DbEntity.
  `Collection<DbAttribute>`
  DbRelationship.`getSourceAttributes()`
  Returns a Collection of source attributes.
  `Collection<DbAttribute>`
  DbRelationship.`getTargetAttributes()`
  Returns a Collection of target attributes.
  `Iterable<PathComponent<DbAttribute, DbRelationship>>`
  DbEntity.`resolvePath(Expression pathExp, Map<String,String> aliasMap)`
  Returns an Iterable instance over expression path components based on this entity.
  Methods in org.apache.cayenne.map with parameters of type DbAttribute
  Modifier and Type
  Method
  Description
  `void`
  DbEntity.`addAttribute(DbAttribute attr)`
  Adds a new attribute to this entity.
  `ObjAttribute`
  ObjEntity.`getAttributeForDbAttribute(DbAttribute dbAttribute)`
  Returns ObjAttribute of this entity that maps to `dbAttribute` parameter.
  `void`
  DbEntity.`renameAttribute(DbAttribute attr, String newName)`
  Renames an attribute owned by this entity, re-keying the attribute map and updating all dependent references across the parent `DataMap`: ObjAttribute paths and DbJoin source/target names.

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

  Fields in org.apache.cayenne.query with type parameters of type DbAttribute
  Modifier and Type
  Field
  Description
  `protected List<DbAttribute>`
  BatchQuery.`dbAttributes`
  Methods in org.apache.cayenne.query that return types with arguments of type DbAttribute
  Modifier and Type
  Method
  Description
  `List<DbAttribute>`
  BatchQuery.`getDbAttributes()`
  Returns a list of DbAttributes describing batch parameters.
  `List<DbAttribute>`
  UpdateBatchQuery.`getQualifierAttributes()`
  `List<DbAttribute>`
  UpdateBatchQuery.`getUpdatedAttributes()`
  Methods in org.apache.cayenne.query with parameters of type DbAttribute
  Modifier and Type
  Method
  Description
  `protected Object`
  BatchQueryRow.`getValue(Map<String,Object> valueMap, DbAttribute attribute)`
  `boolean`
  DeleteBatchQuery.`isNull(DbAttribute attribute)`
  Returns true if a given attribute always has a null value in the batch.
  `boolean`
  UpdateBatchQuery.`isNull(DbAttribute attribute)`
  Returns true if a given attribute always has a null value in the batch.
  Constructor parameters in org.apache.cayenne.query with type arguments of type DbAttribute
  Modifier
  Constructor
  Description
  ``
  `BatchQuery(DbEntity dbEntity, List<DbAttribute> dbAttributes, int batchCapacity)`
  ``
  `DeleteBatchQuery(DbEntity dbEntity, List<DbAttribute> qualifierAttributes, Collection<String> nullQualifierNames, int batchCapacity)`
  ``
  `UpdateBatchQuery(DbEntity dbEntity, List<DbAttribute> qualifierAttributes, List<DbAttribute> updatedAttributes, Collection<String> nullQualifierNames, int batchCapacity)`