| Package | Description | 
|---|---|
| org.apache.cayenne.access | Contains classes that make up Cayenne ORM stack. | 
| org.apache.cayenne.access.dbsync | |
| org.apache.cayenne.access.jdbc | Contains classes that handle JDBC interactions. | 
| org.apache.cayenne.configuration.server | |
| 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.frontbase | FrontBase DbAdapter. | 
| 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. | 
| Modifier and Type | Field and Description | 
|---|---|
| protected DataNode | DataDomain. defaultNode | 
| protected DataNode | DataPort. destinationNodeDeprecated.  | 
| protected DataNode | DataPort. sourceNodeDeprecated.  | 
| Modifier and Type | Field and Description | 
|---|---|
| protected Map<String,DataNode> | DataDomain. nodes | 
| protected Map<String,DataNode> | DataDomain. nodesByDataMapName | 
| Modifier and Type | Method and Description | 
|---|---|
| DataNode | DataDomain. getDataNode(String nodeName)Returns registered DataNode whose name matches  nameparameter. | 
| DataNode | DataDomain. getDefaultNode()An optional DataNode that is used for DataMaps that are not linked to a
 DataNode explicitly. | 
| DataNode | DataPort. getDestinationNode()Deprecated.  | 
| DataNode | DataPort. getSourceNode()Deprecated.  | 
| DataNode | DataDomain. lookupDataNode(DataMap map)Returns a DataNode that should handle queries for all entities in a
 DataMap. | 
| DataNode | DataNode. lookupDataNode(DataMap dataMap)Returns a DataNode that should handle queries for all DataMap components. | 
| Modifier and Type | Method and Description | 
|---|---|
| Collection<DataNode> | DataDomain. getDataNodes()Returns an unmodifiable collection of DataNodes associated with this
 domain. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | DataDomain. addNode(DataNode node)Adds new DataNode. | 
| void | DataDomain. setDefaultNode(DataNode defaultNode) | 
| void | DataPort. setDestinationNode(DataNode destinationNode)Deprecated.  Sets the DataNode serving as a destination of the ported data. | 
| void | DataPort. setSourceNode(DataNode sourceNode)Deprecated.  Sets the DataNode serving as a source of the ported data. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected Map<String,Boolean> | CreateIfNoSchemaStrategy. getNameTablesInDB(DataNode dataNode)Returns all the table names in database. | 
| protected abstract void | BaseSchemaUpdateStrategy. processSchemaUpdate(DataNode dataNode) | 
| protected void | CreateIfNoSchemaStrategy. processSchemaUpdate(DataNode dataNode) | 
| protected void | ThrowOnPartialSchemaStrategy. processSchemaUpdate(DataNode dataNode) | 
| protected void | ThrowOnPartialOrCreateSchemaStrategy. processSchemaUpdate(DataNode dataNode,
                   List<String> mergerOnlyTable,
                   String errorMessage,
                   int entitiesSize) | 
| protected void | ThrowOnPartialSchemaStrategy. processSchemaUpdate(DataNode dataNode,
                   List<String> mergerOnlyTable,
                   String errorMessage,
                   int entitiesSize) | 
| void | BaseSchemaUpdateStrategy. updateSchema(DataNode dataNode) | 
| void | SchemaUpdateStrategy. updateSchema(DataNode dataNode) | 
| void | SkipSchemaUpdateStrategy. updateSchema(DataNode dataNode) | 
| Modifier and Type | Field and Description | 
|---|---|
| protected DataNode | BaseSQLAction. dataNode | 
| protected DataNode | SQLTemplateAction. dataNode | 
| Constructor and Description | 
|---|
| BaseSQLAction(DataNode dataNode) | 
| BatchAction(BatchQuery query,
           DataNode dataNode,
           boolean runningAsBatch) | 
| EJBQLAction(EJBQLQuery query,
           SQLActionVisitor actionFactory,
           DataNode dataNode) | 
| ProcedureAction(ProcedureQuery query,
               DataNode dataNode) | 
| SelectAction(SelectQuery<?> query,
            DataNode dataNode) | 
| SQLTemplateAction(SQLTemplate query,
                 DataNode dataNode) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected DataNode | DataDomainProvider. addDataNode(DataDomain dataDomain,
           DataNodeDescriptor nodeDescriptor) | 
| DataNode | DataNodeFactory. createDataNode(DataNodeDescriptor nodeDescriptor) | 
| DataNode | DefaultDataNodeFactory. createDataNode(DataNodeDescriptor nodeDescriptor) | 
| Modifier and Type | Field and Description | 
|---|---|
| protected DataNode | JdbcActionBuilder. dataNode | 
| Modifier and Type | Method and Description | 
|---|---|
| protected boolean | JdbcPkGenerator. autoPkTableExists(DataNode node)Checks if AUTO_PK_TABLE already exists in the database. | 
| 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. | 
| 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. | 
| Object | JdbcPkGenerator. generatePk(DataNode node,
          DbAttribute pk)Generates a unique and non-repeating primary key for specified dbEntity. | 
| Object | PkGenerator. generatePk(DataNode dataNode,
          DbAttribute pk)Generates a unique and non-repeating primary key for specified PK attribute. | 
| SQLAction | AutoAdapter. getAction(Query query,
         DataNode node) | 
| SQLAction | DbAdapter. getAction(Query query,
         DataNode node)Returns an instance of SQLAction that should handle the query. | 
| SQLAction | JdbcAdapter. getAction(Query query,
         DataNode node)Uses JdbcActionBuilder to create the right action. | 
| protected long | JdbcPkGenerator. longPkFromDatabase(DataNode node,
                  DbEntity entity)Performs primary key generation ignoring cache. | 
| int | JdbcPkGenerator. runUpdate(DataNode node,
         String sql)Runs JDBC update over a Connection obtained from DataNode. | 
| Constructor and Description | 
|---|
| JdbcActionBuilder(DataNode dataNode) | 
| Modifier and Type | Method and Description | 
|---|---|
| SQLAction | DB2Adapter. getAction(Query query,
         DataNode node)Uses special action builder to create the right action. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | FrontBasePkGenerator. createAutoPk(DataNode node,
            List<DbEntity> dbEntities) | 
| void | FrontBasePkGenerator. dropAutoPk(DataNode node,
          List<DbEntity> dbEntities) | 
| protected long | FrontBasePkGenerator. longPkFromDatabase(DataNode node,
                  DbEntity entity) | 
| Modifier and Type | Method and Description | 
|---|---|
| SQLAction | HSQLDBAdapter. getAction(Query query,
         DataNode node)Uses special action builder to create the right action. | 
| Modifier and Type | Method and Description | 
|---|---|
| SQLAction | IngresAdapter. getAction(Query query,
         DataNode node) | 
| Constructor and Description | 
|---|
| IngresActionBuilder(DataNode dataNode) | 
| IngresSelectAction(SelectQuery<T> query,
                  DataNode dataNode) | 
| Modifier and Type | Method and Description | 
|---|---|
| SQLAction | MySQLAdapter. getAction(Query query,
         DataNode node)Uses special action builder to create the right action. | 
| protected long | MySQLPkGenerator. longPkFromDatabase(DataNode node,
                  DbEntity entity)Overrides superclass's implementation to perform locking of the primary
 key lookup table. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | OpenBasePkGenerator. createAutoPk(DataNode node,
            List<DbEntity> dbEntities) | 
| void | OpenBasePkGenerator. dropAutoPk(DataNode node,
          List<DbEntity> dbEntities) | 
| Object | OpenBasePkGenerator. generatePk(DataNode node,
          DbAttribute pk)Returns a non-repeating primary key for a given PK attribute. | 
| protected long | OpenBasePkGenerator. longPkFromDatabase(DataNode node,
                  DbEntity entity)Generates new (unique and non-repeating) primary key for specified
 DbEntity. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | OraclePkGenerator. createAutoPk(DataNode node,
            List<DbEntity> dbEntities) | 
| void | OraclePkGenerator. dropAutoPk(DataNode node,
          List<DbEntity> dbEntities)Drops PK sequences for all specified DbEntities. | 
| SQLAction | Oracle8Adapter. getAction(Query query,
         DataNode node)Uses OracleActionBuilder to create the right action. | 
| SQLAction | OracleAdapter. getAction(Query query,
         DataNode node)Uses OracleActionBuilder to create the right action. | 
| protected List<String> | OraclePkGenerator. getExistingSequences(DataNode node)Fetches a list of existing sequences that might match Cayenne generated
 ones. | 
| protected long | OraclePkGenerator. longPkFromDatabase(DataNode node,
                  DbEntity entity)Generates primary key by calling Oracle sequence corresponding to the
  dbEntity. | 
| Modifier and Type | Method and Description | 
|---|---|
| SQLAction | PostgresAdapter. getAction(Query query,
         DataNode node)Uses PostgresActionBuilder to create the right action. | 
| Constructor and Description | 
|---|
| PostgresBatchAction(BatchQuery query,
                   DataNode dataNode,
                   boolean runningAsBatch) | 
| Modifier and Type | Method and Description | 
|---|---|
| SQLAction | SQLiteAdapter. getAction(Query query,
         DataNode node) | 
| Modifier and Type | Method and Description | 
|---|---|
| SQLAction | SQLServerAdapter. getAction(Query query,
         DataNode node)Uses SQLServerActionBuilder to create the right action. | 
| Constructor and Description | 
|---|
| SQLServerActionBuilder(DataNode dataNode) | 
| SQLServerBatchAction(BatchQuery batchQuery,
                    DataNode dataNode,
                    boolean runningAsBatch) | 
| SQLServerProcedureAction(ProcedureQuery query,
                        DataNode dataNode) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | SybasePkGenerator. createAutoPk(DataNode node,
            List<DbEntity> dbEntities)Generates database objects to provide automatic primary key support. | 
| void | SybasePkGenerator. dropAutoPk(DataNode node,
          List<DbEntity> dbEntities)Drops database objects related to automatic primary key support. | 
| protected long | SybasePkGenerator. longPkFromDatabase(DataNode node,
                  DbEntity entity) | 
Copyright © 2001–2023 Apache Cayenne. All rights reserved.