Uses of Class
org.eclipse.persistence.internal.helper.DatabaseTable
-
-
Uses of DatabaseTable in org.eclipse.persistence.descriptors
Fields in org.eclipse.persistence.descriptors declared as DatabaseTable Modifier and Type Field Description protected DatabaseTableClassDescriptor. defaultTableprotected DatabaseTableInheritancePolicy. readAllSubclassesViewMethods in org.eclipse.persistence.descriptors that return DatabaseTable Modifier and Type Method Description protected DatabaseTableClassDescriptor. extractDefaultTable()INTERNAL: The first table in the tables is always treated as default.DatabaseTableClassDescriptor. getDefaultTable()INTERNAL: The first table in the tables is always treated as default.DatabaseTableInheritancePolicy. getReadAllSubclassesView()INTERNAL: The view can be used to optimize/customize the query for all subclasses where they have multiple tables.DatabaseTableClassDescriptor. getTable(String tableName)INTERNAL: Checks if table name exists with the current descriptor or not.DatabaseTableSchemaPerMultitenantPolicy. getTable(String tableName)DatabaseTableSchemaPerMultitenantPolicy. getTable(DatabaseTable table)DatabaseTableTablePerMultitenantPolicy. getTable(String tableName)INTERNAL: Return the new database table associated with this tenant.DatabaseTableTablePerMultitenantPolicy. getTable(DatabaseTable table)INTERNAL: Return the new database table associated with this tenant.protected DatabaseTableSchemaPerMultitenantPolicy. updateTable(DatabaseTable table)protected DatabaseTableTablePerMultitenantPolicy. updateTable(DatabaseTable table)INTERNAL: This method will update the table by cloning it and setting a new name on it.Methods in org.eclipse.persistence.descriptors that return types with arguments of type DatabaseTable Modifier and Type Method Description Map<DatabaseTable,Map<DatabaseField,DatabaseField>>ClassDescriptor. getAdditionalTablePrimaryKeyFields()INTERNAL: This is used to map the primary key field names in a multiple table descriptor.Vector<DatabaseTable>InheritancePolicy. getAllTables()INTERNAL: all tables for reference class plus childrenTablesList<DatabaseTable>InheritancePolicy. getChildrenTables()INTERNAL: if reads subclasses, all tables for all read subclasses (indirect included).Map<DatabaseTable,Expression>InheritancePolicy. getChildrenTablesJoinExpressions()INTERNAL: join expression for each child table, keyed by the tableprotected Map<DatabaseTable,List<DatabaseField>>SelectedFieldsLockingPolicy. getLockFieldsByTable()INTERNAL: returns the lock fieldsMap<DatabaseTable,Set<DatabaseTable>>ClassDescriptor. getMultipleTableForeignKeys()INTERNAL: Returns the foreign key relationships used for multiple tables which were specified by the user.Map<DatabaseTable,Set<DatabaseTable>>ClassDescriptor. getMultipleTableForeignKeys()INTERNAL: Returns the foreign key relationships used for multiple tables which were specified by the user.List<DatabaseTable>ClassDescriptor. getMultipleTableInsertOrder()INTERNAL: Returns the List of DatabaseTables in the order which INSERTS should take place.Vector<DatabaseTable>ClassDescriptor. getTables()INTERNAL: Return all the tables.Map<DatabaseTable,Expression>DescriptorQueryManager. getTablesJoinExpressions()INTERNAL: Used in case descriptor has additional tables: each additional table mapped to an expression joining it.Methods in org.eclipse.persistence.descriptors with parameters of type DatabaseTable Modifier and Type Method Description protected voidInheritancePolicy. addChildTableJoinExpression(DatabaseTable table, Expression expression)INTERNAL: childrenTablesJoinExpressions, childrenTables, allTables and childrenJoinExpression are created simultaneously and kept in sync.voidInheritancePolicy. addChildTableJoinExpressionToAllParents(DatabaseTable table, Expression expression)INTERNAL: call addChildTableJoinExpression on all parentsvoidClassDescriptor. addTable(DatabaseTable table)PUBLIC: Specify the table for the class of objects the receiver describes.ExpressionChangedFieldsLockingPolicy. buildDeleteExpression(DatabaseTable table, Expression mainExpression, AbstractRecord row)INTERNAL: When given an expression, this method will return a new expression with the optimistic locking values included.ExpressionFieldsLockingPolicy. buildDeleteExpression(DatabaseTable table, Expression mainExpression, AbstractRecord row)INTERNAL: When given an expression, this method will return a new expression with the optimistic locking values included.ExpressionVersionLockingPolicy. buildDeleteExpression(DatabaseTable table, Expression mainExpression, AbstractRecord row)INTERNAL: When given an expression, this method will return a new expression with the optimistic locking values included.protected ExpressionFieldsLockingPolicy. buildExpression(DatabaseTable table, AbstractRecord transRow, AbstractRecord modifyRow, ExpressionBuilder builder)INTERNAL: returns the expression to be used in both the delete and update where clause.DatabaseFieldClassDescriptor. buildField(DatabaseField field, DatabaseTable relationTable)ExpressionFieldsLockingPolicy. buildUpdateExpression(DatabaseTable table, Expression mainExpression, AbstractRecord transRow, AbstractRecord modifyRow)INTERNAL: This method must be included in any locking policy.ExpressionVersionLockingPolicy. buildUpdateExpression(DatabaseTable table, Expression mainExpression, AbstractRecord row, AbstractRecord row2)INTERNAL: When given an expression, this method will return a new expression with the optimistic locking values included.protected List<DatabaseField>FieldsLockingPolicy. getAllNonPrimaryKeyFields(DatabaseTable table)INTERNAL: filter the fields based on the passed in table.protected List<DatabaseField>AllFieldsLockingPolicy. getFieldsToCompare(DatabaseTable table, AbstractRecord transRow, AbstractRecord modifyRow)INTERNAL: Returns the fields that should be compared in the where clause.protected List<DatabaseField>ChangedFieldsLockingPolicy. getFieldsToCompare(DatabaseTable table, AbstractRecord transRow, AbstractRecord modifyRow)INTERNAL: Returns the fields that should be compared in the where clause.protected abstract List<DatabaseField>FieldsLockingPolicy. getFieldsToCompare(DatabaseTable table, AbstractRecord transRow, AbstractRecord modifyRow)INTERNAL: Returns the fields that should be compared in the where clause.protected List<DatabaseField>SelectedFieldsLockingPolicy. getFieldsToCompare(DatabaseTable table, AbstractRecord transRow, AbstractRecord modifyRow)INTERNAL: returns the lock fields to compare based on the passed in table.List<DatabaseField>ReturningPolicy. getFieldsToGenerateInsert(DatabaseTable table)INTERNAL:List<DatabaseField>ReturningPolicy. getFieldsToGenerateUpdate(DatabaseTable table)INTERNAL:protected List<DatabaseField>SelectedFieldsLockingPolicy. getLockFields(DatabaseTable table)INTERNAL: returns the lock fields based on the passed in tableDatabaseTableSchemaPerMultitenantPolicy. getTable(DatabaseTable table)DatabaseTableTablePerMultitenantPolicy. getTable(DatabaseTable table)INTERNAL: Return the new database table associated with this tenant.protected StringSchemaPerMultitenantPolicy. getTableName(DatabaseTable table, String tenant)protected StringTablePerMultitenantPolicy. getTableName(DatabaseTable table, String tenant)INTERNAL: Return the tenant table name.protected List<DatabaseField>ReturningPolicy. getVectorOfFieldsToGenerate(int operation, DatabaseTable table)INTERNAL:protected voidClassDescriptor. setAdditionalTablePrimaryKeyFields(DatabaseTable table, DatabaseField field1, DatabaseField field2)INTERNAL: This is used to map the primary key field names in a multiple table descriptor.voidClassDescriptor. setDefaultTable(DatabaseTable defaultTable)INTERNAL: The descriptors default table can be configured if the first table is not desired.voidClassDescriptor. setInternalDefaultTable(DatabaseTable defaultTable)INTERNAL: Set the default table if one if not already set.protected voidInheritancePolicy. setReadAllSubclassesView(DatabaseTable readAllSubclassesView)INTERNAL: The view can be used to optimize/customize the query for all subclasses where they have multiple tables.protected DatabaseTableSchemaPerMultitenantPolicy. updateTable(DatabaseTable table)protected DatabaseTableTablePerMultitenantPolicy. updateTable(DatabaseTable table)INTERNAL: This method will update the table by cloning it and setting a new name on it.Method parameters in org.eclipse.persistence.descriptors with type arguments of type DatabaseTable Modifier and Type Method Description protected int[][]ClassDescriptor. createTableComparison(List<DatabaseTable> tables, int nStart)INTERNAL: This helper method creates a matrix that contains insertion order comparison for the tables.voidClassDescriptor. setAdditionalTablePrimaryKeyFields(Map<DatabaseTable,Map<DatabaseField,DatabaseField>> additionalTablePrimaryKeyFields)INTERNAL: This is used to map the primary key field names in a multiple table descriptor.protected voidSelectedFieldsLockingPolicy. setLockFieldsByTable(Map<DatabaseTable,List<DatabaseField>> lockFieldsByTable)INTERNAL: Used to set the field names to be used in this policy.protected voidClassDescriptor. setMultipleTableForeignKeys(Map<DatabaseTable,Set<DatabaseTable>> newValue)INTERNAL:protected voidClassDescriptor. setMultipleTableForeignKeys(Map<DatabaseTable,Set<DatabaseTable>> newValue)INTERNAL:voidClassDescriptor. setMultipleTableInsertOrder(List<DatabaseTable> newValue)ADVANCED: Sets the List of DatabaseTables in the order which INSERTS should take place.voidClassDescriptor. setTables(Vector<DatabaseTable> theTables)INTERNAL: Sets the tables -
Uses of DatabaseTable in org.eclipse.persistence.eis
Methods in org.eclipse.persistence.eis that return DatabaseTable Modifier and Type Method Description protected DatabaseTableEISDescriptor. extractDefaultTable()Aggregates use a dummy table as default. -
Uses of DatabaseTable in org.eclipse.persistence.eis.mappings
Methods in org.eclipse.persistence.eis.mappings with parameters of type DatabaseTable Modifier and Type Method Description voidEISOneToManyMapping. writeFromObjectIntoRowForUpdateAfterShallowInsert(Object object, AbstractRecord row, AbstractSession session, DatabaseTable table)INTERNAL: This row is built for update after shallow insert which happens in case of bidirectional inserts. -
Uses of DatabaseTable in org.eclipse.persistence.exceptions
-
Uses of DatabaseTable in org.eclipse.persistence.expressions
Fields in org.eclipse.persistence.expressions declared as DatabaseTable Modifier and Type Field Description protected DatabaseTableExpressionBuilder. aliasedViewTableprotected DatabaseTableExpression. currentAliasprotected DatabaseTableExpression. lastTableTemporary values for table aliasingprotected DatabaseTableExpressionBuilder. viewTableMethods in org.eclipse.persistence.expressions that return DatabaseTable Modifier and Type Method Description DatabaseTableExpression. aliasForTable(DatabaseTable table)INTERNAL: Find the alias for a given tableDatabaseTableExpressionBuilder. aliasForTable(DatabaseTable table)INTERNAL: Find the alias for a given table.DatabaseTableExpressionBuilder. getAliasedViewTable()INTERNAL:DatabaseTableExpressionBuilder. getViewTable()INTERNAL:Methods in org.eclipse.persistence.expressions that return types with arguments of type DatabaseTable Modifier and Type Method Description List<DatabaseTable>Expression. getOwnedTables()INTERNAL: Return the tables that this node owns for purposes of table aliasing.Methods in org.eclipse.persistence.expressions with parameters of type DatabaseTable Modifier and Type Method Description DatabaseTableExpression. aliasForTable(DatabaseTable table)INTERNAL: Find the alias for a given tableDatabaseTableExpressionBuilder. aliasForTable(DatabaseTable table)INTERNAL: Find the alias for a given table.protected voidExpression. assignAlias(String name, DatabaseTable tableOrExpression)INTERNAL: Alias a particular table within this nodeExpressionExpression. getTable(DatabaseTable table)ADVANCED: Return an expression representing a table in a data-level query.voidExpressionBuilder. setViewTable(DatabaseTable theTable)INTERNAL: This expression represents something read through a view table. -
Uses of DatabaseTable in org.eclipse.persistence.history
Fields in org.eclipse.persistence.history with type parameters of type DatabaseTable Modifier and Type Field Description protected List<DatabaseTable>HistoryPolicy. historicalTablesMethods in org.eclipse.persistence.history that return types with arguments of type DatabaseTable Modifier and Type Method Description List<DatabaseTable>HistoryPolicy. getHistoricalTables()INTERNAL:Methods in org.eclipse.persistence.history with parameters of type DatabaseTable Modifier and Type Method Description protected booleanHistoryPolicy. checkWastedVersioning(AbstractRecord modifyRow, DatabaseTable table)INTERNAL: Checks for the case where an object has multiple tables but only some are part of a minimal update.Method parameters in org.eclipse.persistence.history with type arguments of type DatabaseTable Modifier and Type Method Description voidHistoryPolicy. setHistoricalTables(List<DatabaseTable> historicalTables)INTERNAL: -
Uses of DatabaseTable in org.eclipse.persistence.internal.databaseaccess
Methods in org.eclipse.persistence.internal.databaseaccess that return DatabaseTable Modifier and Type Method Description DatabaseTableDatabasePlatform. getTempTableForTable(DatabaseTable table)INTERNAL: May override this method if the platform support temporary tables.Methods in org.eclipse.persistence.internal.databaseaccess with parameters of type DatabaseTable Modifier and Type Method Description protected StringDatabasePlatform. getCreateTempTableSqlBodyForTable(DatabaseTable table)INTERNAL: May override this method if the platform supports temporary tables.DatabaseTableDatabasePlatform. getTempTableForTable(DatabaseTable table)INTERNAL: May override this method if the platform support temporary tables.voidDatabasePlatform. writeCleanUpTempTableSql(Writer writer, DatabaseTable table)INTERNAL: Don't override this method.voidDatabasePlatform. writeCreateTempTableSql(Writer writer, DatabaseTable table, AbstractSession session, Collection<DatabaseField> pkFields, Collection<DatabaseField> usedFields, Collection<DatabaseField> allFields)INTERNAL: Don't override this method.voidDatabasePlatform. writeDeleteFromTargetTableUsingTempTableSql(Writer writer, DatabaseTable table, DatabaseTable targetTable, Collection<DatabaseField> pkFields, Collection<DatabaseField> targetPkFields, DatasourcePlatform platform)INTERNAL: Write an sql string for deletion from target table using temporary table.voidDatabasePlatform. writeInsertIntoTableSql(Writer writer, DatabaseTable table, Collection<DatabaseField> usedFields)INTERNAL: May need to override this method if the platform supports temporary tables and the generated sql doesn't work.voidDatabasePlatform. writeUpdateOriginalFromTempTableSql(Writer writer, DatabaseTable table, Collection<DatabaseField> pkFields, Collection<DatabaseField> assignedFields)INTERNAL: May need to override this method if the platform supports temporary tables and the generated sql doesn't work. -
Uses of DatabaseTable in org.eclipse.persistence.internal.descriptors
Methods in org.eclipse.persistence.internal.descriptors with parameters of type DatabaseTable Modifier and Type Method Description ExpressionObjectBuilder. buildDeleteExpression(DatabaseTable table, AbstractRecord row, boolean usesOptimisticLocking)Build and return the expression to use as the where clause to delete an object.ExpressionOptimisticLockingPolicy. buildDeleteExpression(DatabaseTable table, Expression mainExpression, AbstractRecord row)INTERNAL: When given an expression, this method will return a new expression with the optimistic locking values included.ExpressionObjectBuilder. buildPrimaryKeyExpression(DatabaseTable table)Build the primary key expression for the secondary table.AbstractRecordObjectBuilder. buildRowForUpdateAfterShallowInsert(Object object, AbstractSession session, DatabaseTable table)Build the row representation of the object that contains only the fields nullified by shallow insert.AbstractRecordObjectBuilder. buildRowForUpdateAfterShallowInsert(AbstractRecord databaseRow, Object object, AbstractSession session, DatabaseTable table)Build the row representation of the object that contains only the fields nullified by shallow insert.AbstractRecordObjectBuilder. buildRowForUpdateBeforeShallowDelete(Object object, AbstractSession session, DatabaseTable table)Build the row representation of the object that contains only the fields nullified by shallow insert, with all values set to null.AbstractRecordObjectBuilder. buildRowForUpdateBeforeShallowDelete(AbstractRecord databaseRow, Object object, AbstractSession session, DatabaseTable table)Build the row representation of the object that contains only the fields nullified by shallow insert, with all values set to null.ExpressionObjectBuilder. buildUpdateExpression(DatabaseTable table, AbstractRecord transactionRow, AbstractRecord modifyRow)Build and return the expression to use as the where clause to an update object.ExpressionOptimisticLockingPolicy. buildUpdateExpression(DatabaseTable table, Expression mainExpression, AbstractRecord translationRow, AbstractRecord modifyRow)INTERNAL: When given an expression, this method will return a new expression with the optimistic locking values included. -
Uses of DatabaseTable in org.eclipse.persistence.internal.expressions
Subclasses of DatabaseTable in org.eclipse.persistence.internal.expressions Modifier and Type Class Description classNestedTableclassSubSelectDatabaseTableINTERNAL: Allow a table to reference a sub-select to support sub-selects in the from clause.Fields in org.eclipse.persistence.internal.expressions declared as DatabaseTable Modifier and Type Field Description protected DatabaseTableSQLSelectStatement. currentAliasprotected DatabaseTable[]TableAliasLookup. keysprotected DatabaseTableSQLSelectStatement. lastTableprotected DatabaseTableSQLModifyStatement. tableprotected DatabaseTableTableExpression. tableprotected DatabaseTableSQLDeleteAllStatementForTempTable. targetTableprotected DatabaseTable[]TableAliasLookup. valuesFields in org.eclipse.persistence.internal.expressions with type parameters of type DatabaseTable Modifier and Type Field Description protected Map<DatabaseTable,DatabaseTable>SQLSelectStatement. tableAliasesprotected Map<DatabaseTable,DatabaseTable>SQLSelectStatement. tableAliasesprotected List<DatabaseTable>SQLSelectStatement. tablesTables being selected from.Methods in org.eclipse.persistence.internal.expressions that return DatabaseTable Modifier and Type Method Description DatabaseTableCompoundExpression. aliasForTable(DatabaseTable table)INTERNAL: Find the alias for a given table from the first or second child in the additionalOuterJoinCriteriaDatabaseTableDataExpression. aliasForTable(DatabaseTable table)INTERNAL: Find the alias for a given tableDatabaseTableFromSubSelectExpression. aliasForTable(DatabaseTable table)INTERNAL: Any table should use the sub-selects alias.DatabaseTableFunctionExpression. aliasForTable(DatabaseTable table)INTERNAL: Find the alias for a given tableDatabaseTableMapEntryExpression. aliasForTable(DatabaseTable table)INTERNAL: Find the alias for a given table.DatabaseTableQueryKeyExpression. aliasForTable(DatabaseTable table)INTERNAL: Find the alias for a given tableDatabaseTableTreatAsExpression. aliasForTable(DatabaseTable table)DatabaseTableTableAliasLookup. get(DatabaseTable key)protected DatabaseTableClassTypeExpression. getAliasedTable()Return the alias for our tableprotected DatabaseTableQueryKeyExpression. getAliasedTable()Return the alias for our tableDatabaseTableQueryKeyExpression. getReferenceTable()Calculate the reference table for based on the various QueryKeyExpression usages (join query keys, custom defined query keys, or query keys for mappings).DatabaseTableTreatAsExpression. getReferenceTable()DatabaseTableObjectExpression. getRelationTable()Return null by default, only QueryKeyExpression can have a relation table.DatabaseTableQueryKeyExpression. getRelationTable()Calculate the relation table for based on the various QueryKeyExpression usages (join query keys, custom defined query keys, or query keys for mappings).DatabaseTableTreatAsExpression. getRelationTable()Calculate the relation table for based on the various QueryKeyExpression usages (join query keys, custom defined query keys, or query keys for mappings).DatabaseTableQueryKeyExpression. getSourceTable()Calculate the source table for based on the various QueryKeyExpression usages (join query keys, custom defined query keys, or query keys for mappings).DatabaseTableTreatAsExpression. getSourceTable()DatabaseTableSQLModifyStatement. getTable()DatabaseTableTableExpression. getTable()DatabaseTableSQLDeleteAllStatementForTempTable. getTargetTable()DatabaseTableTableAliasLookup. keyAtValue(DatabaseTable value)DatabaseTable[]TableAliasLookup. keys()DatabaseTableTableAliasLookup. put(DatabaseTable key, DatabaseTable value)put method comment.DatabaseTable[]TableAliasLookup. values()Methods in org.eclipse.persistence.internal.expressions that return types with arguments of type DatabaseTable Modifier and Type Method Description List<DatabaseTable>ObjectExpression. getAdditionalTables()Return any tables in addition to the descriptor's tables, such as the mappings join table.List<DatabaseTable>QueryKeyExpression. getAdditionalTables()INTERNAL: Return any additional tables that belong to this expression An example of how this method is used is to return any tables that belong to the map key when this expression traverses a mapping that uses a MapList<DatabaseTable>TreatAsExpression. getAdditionalTables()List<DatabaseTable>TreatAsExpression. getOwnedSubTables()INTERNAL: much like getOwnedTables(), this gets the tables represented from the descriptor.List<DatabaseTable>ManualQueryKeyExpression. getOwnedTables()INTERNAL: If we ever get in the circumstance of a manual query key to an aggregate, then we can assume that the owner of that aggregate isn't participating (and even if it is, we can't know which node it is, so *DO* use the aggregate's parents tablesList<DatabaseTable>MapEntryExpression. getOwnedTables()Exclude any tables defined by base.List<DatabaseTable>ObjectExpression. getOwnedTables()Return any tables that are defined by this expression (and not its base).List<DatabaseTable>QueryKeyExpression. getOwnedTables()INTERNAL:List<DatabaseTable>TableExpression. getOwnedTables()INTERNAL:List<DatabaseTable>TreatAsExpression. getOwnedTables()This owns (can access) the child's extra tables as well as its parent's tables so we should pull these from super (which gets them from the current descriptor)Map<DatabaseTable,DatabaseTable>OuterJoinExpressionHolder. getTableAliases()INTERNAL: Return the aliases used.Map<DatabaseTable,DatabaseTable>OuterJoinExpressionHolder. getTableAliases()INTERNAL: Return the aliases used.Map<DatabaseTable,DatabaseTable>SQLSelectStatement. getTableAliases()INTERNAL: Return the aliases used.Map<DatabaseTable,DatabaseTable>SQLSelectStatement. getTableAliases()INTERNAL: Return the aliases used.List<DatabaseTable>SQLSelectStatement. getTables()INTERNAL: Return all the tables.Methods in org.eclipse.persistence.internal.expressions with parameters of type DatabaseTable Modifier and Type Method Description voidSQLSelectStatement. addTable(DatabaseTable table)Add a table to the statement.DatabaseTableCompoundExpression. aliasForTable(DatabaseTable table)INTERNAL: Find the alias for a given table from the first or second child in the additionalOuterJoinCriteriaDatabaseTableDataExpression. aliasForTable(DatabaseTable table)INTERNAL: Find the alias for a given tableDatabaseTableFromSubSelectExpression. aliasForTable(DatabaseTable table)INTERNAL: Any table should use the sub-selects alias.DatabaseTableFunctionExpression. aliasForTable(DatabaseTable table)INTERNAL: Find the alias for a given tableDatabaseTableMapEntryExpression. aliasForTable(DatabaseTable table)INTERNAL: Find the alias for a given table.DatabaseTableQueryKeyExpression. aliasForTable(DatabaseTable table)INTERNAL: Find the alias for a given tableDatabaseTableTreatAsExpression. aliasForTable(DatabaseTable table)protected voidDataExpression. assignAlias(String name, DatabaseTable table)INTERNAL: Alias a particular table within this nodeprotected voidDataExpression. assignAlias(DatabaseTable alias, DatabaseTable table)INTERNAL: Alias a particular table within this nodeprotected voidTableExpression. assignAlias(DatabaseTable alias, DatabaseTable table)INTERNAL: Alias a particular table within this nodeprotected voidTreatAsExpression. assignAlias(DatabaseTable alias, DatabaseTable table)INTERNAL: Alias a particular table within this nodeExpressionDataExpression. existingDerivedTable(DatabaseTable table)INTERNAL:ExpressionMapEntryExpression. existingDerivedTable(DatabaseTable table)INTERNAL:DatabaseTableTableAliasLookup. get(DatabaseTable key)ExpressionDataExpression. getTable(DatabaseTable table)protected booleanSQLSelectStatement. hasAliasForTable(DatabaseTable table)DatabaseTableTableAliasLookup. keyAtValue(DatabaseTable value)ExpressionDataExpression. newDerivedTable(DatabaseTable table)INTERNAL:voidExpressionSQLPrinter. printField(DatabaseField field, DatabaseTable tableAlias)protected voidSQLSelectStatement. printForUpdateClauseOnJoin(DatabaseTable alias, ExpressionSQLPrinter printer, boolean shouldPrintUpdateClauseForAllTables, Collection aliasesOfTablesToBeLocked, DatabasePlatform platform)Print the FOR UPDATE clause after each join if required.DatabaseTableTableAliasLookup. put(DatabaseTable key, DatabaseTable value)put method comment.voidSQLSelectStatement. removeTable(DatabaseTable table)Remove a table from the statement.voidSQLModifyStatement. setTable(DatabaseTable table)voidTableExpression. setTable(DatabaseTable table)INTERNAL: Added for temporal querying.voidSQLDeleteAllStatementForTempTable. setTargetTable(DatabaseTable targetTable)Method parameters in org.eclipse.persistence.internal.expressions with type arguments of type DatabaseTable Modifier and Type Method Description IntegerSQLSelectStatement. addOuterJoinExpressionsHolders(Map<DatabaseTable,Expression> outerJoinedAdditionalJoinCriteria, ClassDescriptor descriptor)INTERNAL: used by TREAT to add in a join from the parent table to the child tables when the parent expression did not add an outer join of its ownIntegerSQLSelectStatement. addOuterJoinExpressionsHolders(ObjectExpression joinExpression, Expression outerJoinedMappingCriteria, Map<DatabaseTable,Expression> outerJoinedAdditionalJoinCriteria, ClassDescriptor descriptor)INTERNAL: Used by ExpressionBuilder and QueryKeyExpression normalization to create a standard outerjoin.voidTableAliasLookup. addToMap(Map<DatabaseTable,DatabaseTable> map)voidTableAliasLookup. addToMap(Map<DatabaseTable,DatabaseTable> map)voidSQLSelectStatement. appendFromClauseForInformixOuterJoin(ExpressionSQLPrinter printer, List<DatabaseTable> outerJoinedAliases)ADVANCED: If a platform is Informix, then the outer join must be in the FROM clause.voidSQLSelectStatement. appendFromClauseForOuterJoin(ExpressionSQLPrinter printer, List<DatabaseTable> outerJoinedAliases, Collection aliasesOfTablesToBeLocked, boolean shouldPrintUpdateClauseForAllTables)ADVANCED: Appends the SQL standard outer join clause, and some variation per platform.voidOuterJoinExpressionHolder. createIndexList(Map<DatabaseTable,OuterJoinExpressionHolder> targetAliasToHolders, Map<DatabaseTable,Integer> aliasToIndexes)static SortedSetSQLSelectStatement. mapTableIndexToExpression(Expression expression, TreeMap map, List<DatabaseTable> tablesInOrder)INTERNAL: The method searches for expressions that join two tables each in a given expression.protected voidSQLSelectStatement. setTableAliases(Map<DatabaseTable,DatabaseTable> theTableAliases)protected voidSQLSelectStatement. setTableAliases(Map<DatabaseTable,DatabaseTable> theTableAliases)voidSQLSelectStatement. setTables(List<DatabaseTable> theTables)Constructors in org.eclipse.persistence.internal.expressions with parameters of type DatabaseTable Constructor Description TableExpression(DatabaseTable table)Constructor parameters in org.eclipse.persistence.internal.expressions with type arguments of type DatabaseTable Constructor Description OuterJoinExpressionHolder(SQLSelectStatement statement, ObjectExpression joinExpression, Expression outerJoinedMappingCriteria, Map<DatabaseTable,Expression> outerJoinedAdditionalJoinCriteria, ClassDescriptor descriptor) -
Uses of DatabaseTable in org.eclipse.persistence.internal.helper
Fields in org.eclipse.persistence.internal.helper declared as DatabaseTable Modifier and Type Field Description protected DatabaseTableDatabaseField. tableFields table (encapsulates name + creator).Methods in org.eclipse.persistence.internal.helper that return DatabaseTable Modifier and Type Method Description DatabaseTableDatabaseTable. clone()Return a shallow copy of the receiver.DatabaseTableDatabaseField. getTable()Methods in org.eclipse.persistence.internal.helper with parameters of type DatabaseTable Modifier and Type Method Description booleanDatabaseTable. equals(DatabaseTable table)Two tables are equal if their names and tables are equal, or their names are equal and one does not have a qualifier assigned.voidDatabaseField. setTable(DatabaseTable table)Set the table for the field.Constructors in org.eclipse.persistence.internal.helper with parameters of type DatabaseTable Constructor Description DatabaseField(String fieldName, DatabaseTable databaseTable)DatabaseField(String fieldName, DatabaseTable databaseTable, String startDelimiter, String endDelimiter) -
Uses of DatabaseTable in org.eclipse.persistence.internal.queries
Methods in org.eclipse.persistence.internal.queries that return types with arguments of type DatabaseTable Modifier and Type Method Description List<DatabaseTable>ContainerPolicy. getAdditionalTablesForJoinQuery()INTERNAL: Return any tables that will be required when this mapping is used as part of a join query.List<DatabaseTable>MappedKeyMapContainerPolicy. getAdditionalTablesForJoinQuery()INTERNAL: Return any tables that will be required when this mapping is used as part of a join query.List<DatabaseTable>OrderedListContainerPolicy. getAdditionalTablesForJoinQuery()INTERNAL: Return any tables that will be required when this mapping is used as part of a join query.Methods in org.eclipse.persistence.internal.queries with parameters of type DatabaseTable Modifier and Type Method Description protected SQLDeleteStatementExpressionQueryMechanism. buildDeleteAllStatement(DatabaseTable table, Expression inheritanceExpression, SQLCall selectCallForExist, SQLSelectStatement selectStatementForExist, SQLCall selectCallForNotExist, SQLSelectStatement selectStatementForNotExist, Collection primaryKeyFields)Return the appropriate delete statement Passing of a call/ statement pair is used because the same pair may be used several times.protected VectorExpressionQueryMechanism. buildDeleteAllStatementsForMappingsWithTempTable(ClassDescriptor descriptor, DatabaseTable rootTable, boolean dontCheckDescriptor)Build delete statements with temporary table for ManyToMany and DirectCollection mappings.protected SQLDeleteStatementExpressionQueryMechanism. buildDeleteStatement(DatabaseTable table)Return the appropriate delete statementprotected SQLDeleteStatementExpressionQueryMechanism. buildDeleteStatementForDeleteAllQuery(DatabaseTable table)Used by DeleteAllQuery to create DeleteStatement in a simple case when selectionCriteria==null.protected SQLDeleteStatementExpressionQueryMechanism. buildDeleteStatementForDeleteAllQuery(DatabaseTable table, Expression inheritanceExpression)Used by DeleteAllQuery to create DeleteStatement in a simple case when selectionCriteria==null.protected SQLInsertStatementExpressionQueryMechanism. buildInsertStatement(DatabaseTable table)Return the appropriate insert statementprotected VectorExpressionQueryMechanism. buildStatementsForUpdateAllForTempTables(DatabaseTable table, HashMap databaseFieldsToValues, List<DatabaseField> primaryKeyFields)protected SQLUpdateAllStatementExpressionQueryMechanism. buildUpdateAllStatement(DatabaseTable table, HashMap databaseFieldsToValues, SQLCall selectCallForExist, SQLSelectStatement selectStatementForExist, Collection primaryKeyFields)protected SQLUpdateStatementExpressionQueryMechanism. buildUpdateStatement(DatabaseTable table)Return the appropriate update statementprotected static StringExpressionQueryMechanism. getAliasTableName(SQLSelectStatement selectStatement, DatabaseTable table, DatasourcePlatform platform)protected ClassDescriptorExpressionQueryMechanism. getHighestDescriptorMappingTable(DatabaseTable table)Pass to this method a table mapped by query's descriptor.protected List<DatabaseField>ExpressionQueryMechanism. getPrimaryKeyFieldsForTable(ClassDescriptor descriptor, DatabaseTable table)protected List<DatabaseField>ExpressionQueryMechanism. getPrimaryKeyFieldsForTable(DatabaseTable table)voidContainerPolicy. initialize(AbstractSession session, DatabaseTable keyTable)INTERNAL: Provide a hook to allow initialization of Container Policy partsvoidMappedKeyMapContainerPolicy. initialize(AbstractSession session, DatabaseTable keyTable)INTERNAL: Initialize the key mappingMethod parameters in org.eclipse.persistence.internal.queries with type arguments of type DatabaseTable Modifier and Type Method Description protected voidExpressionQueryMechanism. prepareDeleteAll(List<DatabaseTable> tablesToIgnore, boolean isWhereClauseRequired)Pre-build the SQL statement from the expression. -
Uses of DatabaseTable in org.eclipse.persistence.internal.sessions
Fields in org.eclipse.persistence.internal.sessions with type parameters of type DatabaseTable Modifier and Type Field Description protected Map<DatabaseTable,List<Object[]>>CommitManager. deferredCallsMap of deferred calls groups by their table.Methods in org.eclipse.persistence.internal.sessions that return types with arguments of type DatabaseTable Modifier and Type Method Description protected Map<DatabaseTable,List<Object[]>>CommitManager. getDeferredCalls()Used to store calls to be performed at the end of the commit.Methods in org.eclipse.persistence.internal.sessions with parameters of type DatabaseTable Modifier and Type Method Description voidCommitManager. addDeferredCall(DatabaseTable table, DatasourceCall call, DatabaseQueryMechanism mechanism)Add the data query to be performed at the end of the commit. -
Uses of DatabaseTable in org.eclipse.persistence.mappings
Fields in org.eclipse.persistence.mappings declared as DatabaseTable Modifier and Type Field Description protected DatabaseTableAggregateObjectMapping. aggregateKeyTableprotected DatabaseTableAggregateCollectionMapping. defaultSourceTableDefault source table that should be used with the default source fields of this mapping.DatabaseTableOneToOneMapping. keyTableForMapKeyprotected DatabaseTableDirectCollectionMapping. referenceTableStores the reference tableprotected DatabaseTableRelationTableMechanism. relationTableThe intermediate relation table.protected DatabaseTableOneToManyMapping. targetForeignKeyTableAll targetForeignKeyFields should have the same table.Methods in org.eclipse.persistence.mappings that return DatabaseTable Modifier and Type Method Description DatabaseTableDirectCollectionMapping. getReferenceTable()INTERNAL: Return the direct table.DatabaseTableManyToManyMapping. getRelationTable()INTERNAL: Return the relation table associated with the mapping.DatabaseTableOneToOneMapping. getRelationTable()PUBLIC: Return RelationTable.DatabaseTableRelationTableMechanism. getRelationTable()INTERNAL: Return the relation table associated with the mapping.Methods in org.eclipse.persistence.mappings that return types with arguments of type DatabaseTable Modifier and Type Method Description List<DatabaseTable>AggregateObjectMapping. getAdditionalTablesForJoinQuery()INTERNAL: Return any tables that will be required when this mapping is used as part of a join queryList<DatabaseTable>OneToOneMapping. getAdditionalTablesForJoinQuery()INTERNAL: Return any tables that will be required when this mapping is used as part of a join queryMethods in org.eclipse.persistence.mappings with parameters of type DatabaseTable Modifier and Type Method Description voidAggregateObjectMapping. preinitializeMapKey(DatabaseTable table)INTERNAL: Making any mapping changes necessary to use a the mapping as a map key prior to initializing the mappingvoidOneToOneMapping. preinitializeMapKey(DatabaseTable table)INTERNAL: Making any mapping changes necessary to use a the mapping as a map key prior to initializing the mappingvoidAggregateCollectionMapping. setDefaultSourceTable(DatabaseTable table)PUBLIC: Set a default source table to use with the source fields of this mapping.voidDirectCollectionMapping. setReferenceTable(DatabaseTable table)INTERNAL: Set the reference table.voidManyToManyMapping. setRelationTable(DatabaseTable relationTable)PUBLIC: Set the relational table.voidOneToOneMapping. setRelationTable(DatabaseTable relationTable)PUBLIC: Set the relational table.voidRelationTableMechanism. setRelationTable(DatabaseTable relationTable)PUBLIC: Set the relational table.voidAggregateObjectMapping. setTableForAggregateMappingKey(DatabaseTable table)INTERNAL: If this mapping is used as the key of a CollectionTableMapMapping, the table used by this mapping will be the relation table.voidAggregateObjectMapping. writeFromObjectIntoRowForUpdateAfterShallowInsert(Object object, AbstractRecord row, AbstractSession session, DatabaseTable table)INTERNAL: This row is built for update after shallow insert which happens in case of bidirectional inserts.voidDatabaseMapping. writeFromObjectIntoRowForUpdateAfterShallowInsert(Object object, AbstractRecord databaseRow, AbstractSession session, DatabaseTable table)INTERNAL: This row is built for update after shallow insert which happens in case of bidirectional inserts.voidOneToOneMapping. writeFromObjectIntoRowForUpdateAfterShallowInsert(Object object, AbstractRecord databaseRow, AbstractSession session, DatabaseTable table)INTERNAL: This row is built for update after shallow insert which happens in case of bidirectional inserts.voidVariableOneToOneMapping. writeFromObjectIntoRowForUpdateAfterShallowInsert(Object object, AbstractRecord row, AbstractSession session, DatabaseTable table)INTERNAL: This row is built for update after shallow insert which happens in case of bidirectional inserts.voidAggregateObjectMapping. writeFromObjectIntoRowForUpdateBeforeShallowDelete(Object object, AbstractRecord row, AbstractSession session, DatabaseTable table)INTERNAL: This row is built for update before shallow delete which happens in case of bidirectional inserts.voidDatabaseMapping. writeFromObjectIntoRowForUpdateBeforeShallowDelete(Object object, AbstractRecord databaseRow, AbstractSession session, DatabaseTable table)INTERNAL: This row is built for update before shallow delete which happens in case of bidirectional inserts.voidOneToOneMapping. writeFromObjectIntoRowForUpdateBeforeShallowDelete(Object object, AbstractRecord databaseRow, AbstractSession session, DatabaseTable table)INTERNAL: This row is built for update before shallow delete which happens in case of bidirectional inserts.protected voidAggregateObjectMapping. writeToRowFromAggregateForUpdateAfterShallowInsert(AbstractRecord record, Object object, Object attributeValue, AbstractSession session, DatabaseTable table)INTERNAL: Write the aggregate values into the parent row for update after shallow insert.protected voidAggregateObjectMapping. writeToRowFromAggregateForUpdateBeforeShallowDelete(AbstractRecord record, Object object, Object attributeValue, AbstractSession session, DatabaseTable table)INTERNAL: Write the aggregate values into the parent row for update before shallow delete. -
Uses of DatabaseTable in org.eclipse.persistence.mappings.foundation
Fields in org.eclipse.persistence.mappings.foundation declared as DatabaseTable Modifier and Type Field Description protected DatabaseTableAbstractDirectMapping. keyTableForMapKeyMethods in org.eclipse.persistence.mappings.foundation that return types with arguments of type DatabaseTable Modifier and Type Method Description List<DatabaseTable>AbstractDirectMapping. getAdditionalTablesForJoinQuery()INTERNAL: Return any tables that will be required when this mapping is used as part of a join query.List<DatabaseTable>MapKeyMapping. getAdditionalTablesForJoinQuery()INTERNAL: Return any tables that will be required when this mapping is used as part of a join queryMethods in org.eclipse.persistence.mappings.foundation with parameters of type DatabaseTable Modifier and Type Method Description voidAbstractDirectMapping. preinitializeMapKey(DatabaseTable table)INTERNAL: Making any mapping changes necessary to use a the mapping as a map key prior to initializing the mapping.voidMapKeyMapping. preinitializeMapKey(DatabaseTable table)INTERNAL: Making any mapping changes necessary to use a the mapping as a map key prior to initializing the mapping -
Uses of DatabaseTable in org.eclipse.persistence.mappings.querykeys
Methods in org.eclipse.persistence.mappings.querykeys that return DatabaseTable Modifier and Type Method Description DatabaseTableForeignReferenceQueryKey. getReferenceTable(ClassDescriptor desc)PUBLIC: Returns the reference table.DatabaseTableDirectCollectionQueryKey. getRelationTable(ClassDescriptor referenceDescriptor)PUBLIC: Returns the reference table.DatabaseTableForeignReferenceQueryKey. getRelationTable(ClassDescriptor referenceDescriptor)PUBLIC: Returns the relation table.DatabaseTableManyToManyQueryKey. getRelationTable(ClassDescriptor referenceDescriptor)PUBLIC: Returns the reference table.DatabaseTableOneToManyQueryKey. getRelationTable(ClassDescriptor referenceDescriptor)PUBLIC: Returns the reference table.DatabaseTableForeignReferenceQueryKey. getSourceTable()PUBLIC: Returns the source table. -
Uses of DatabaseTable in org.eclipse.persistence.mappings.structures
Methods in org.eclipse.persistence.mappings.structures that return DatabaseTable Modifier and Type Method Description protected DatabaseTableObjectRelationalDataTypeDescriptor. extractDefaultTable()INTERNAL: Aggregates use a dummy table as default.Methods in org.eclipse.persistence.mappings.structures with parameters of type DatabaseTable Modifier and Type Method Description voidNestedTableMapping. writeFromObjectIntoRowForUpdateAfterShallowInsert(Object object, AbstractRecord record, AbstractSession session, DatabaseTable table)INTERNAL: This row is built for update after shallow insert which happens in case of bidirectional inserts.voidReferenceMapping. writeFromObjectIntoRowForUpdateAfterShallowInsert(Object object, AbstractRecord record, AbstractSession session, DatabaseTable table)INTERNAL: This row is built for update after shallow insert which happens in case of bidirectional inserts. -
Uses of DatabaseTable in org.eclipse.persistence.oxm
Methods in org.eclipse.persistence.oxm that return DatabaseTable Modifier and Type Method Description protected DatabaseTableXMLDescriptor. extractDefaultTable()Aggregates use a dummy table as default.Method parameters in org.eclipse.persistence.oxm with type arguments of type DatabaseTable Modifier and Type Method Description voidXMLDescriptor. setTables(Vector<DatabaseTable> theTables)INTERNAL: Sets the tables -
Uses of DatabaseTable in org.eclipse.persistence.platform.database
Methods in org.eclipse.persistence.platform.database that return DatabaseTable Modifier and Type Method Description DatabaseTableDB2Platform. getTempTableForTable(DatabaseTable table)INTERNAL: DB2 temp table syntax.DatabaseTableHANAPlatform. getTempTableForTable(DatabaseTable table)DatabaseTableInformix11Platform. getTempTableForTable(DatabaseTable table)Overrides the superclass implementation to return a newDatabaseTablewith no getTableQualifier().DatabaseTableMaxDBPlatform. getTempTableForTable(DatabaseTable table)DatabaseTablePervasivePlatform. getTempTableForTable(DatabaseTable table)INTERNAL:DatabaseTableSQLAnywherePlatform. getTempTableForTable(DatabaseTable table)Used for sp calls.DatabaseTableSQLServerPlatform. getTempTableForTable(DatabaseTable table)INTERNAL:DatabaseTableSybasePlatform. getTempTableForTable(DatabaseTable table)INTERNAL:Methods in org.eclipse.persistence.platform.database with parameters of type DatabaseTable Modifier and Type Method Description protected StringDB2Platform. getCreateTempTableSqlBodyForTable(DatabaseTable table)INTERNAL: DB2 allows LIKE to be used to create temp tables, which avoids having to know the types.protected StringDerbyPlatform. getCreateTempTableSqlBodyForTable(DatabaseTable table)INTERNAL:DatabaseTableDB2Platform. getTempTableForTable(DatabaseTable table)INTERNAL: DB2 temp table syntax.DatabaseTableHANAPlatform. getTempTableForTable(DatabaseTable table)DatabaseTableInformix11Platform. getTempTableForTable(DatabaseTable table)Overrides the superclass implementation to return a newDatabaseTablewith no getTableQualifier().DatabaseTableMaxDBPlatform. getTempTableForTable(DatabaseTable table)DatabaseTablePervasivePlatform. getTempTableForTable(DatabaseTable table)INTERNAL:DatabaseTableSQLAnywherePlatform. getTempTableForTable(DatabaseTable table)Used for sp calls.DatabaseTableSQLServerPlatform. getTempTableForTable(DatabaseTable table)INTERNAL:DatabaseTableSybasePlatform. getTempTableForTable(DatabaseTable table)INTERNAL:voidMySQLPlatform. writeDeleteFromTargetTableUsingTempTableSql(Writer writer, DatabaseTable table, DatabaseTable targetTable, Collection<DatabaseField> pkFields, Collection<DatabaseField> targetPkFields, DatasourcePlatform platform)INTERNAL: Writes MySQL specific SQL for accessing temp tables for delete-all queries.voidDerbyPlatform. writeUpdateOriginalFromTempTableSql(Writer writer, DatabaseTable table, Collection<DatabaseField> pkFields, Collection<DatabaseField> assignedFields)INTERNAL: May need to override this method if the platform supports temporary tables and the generated sql doesn't work.voidH2Platform. writeUpdateOriginalFromTempTableSql(Writer writer, DatabaseTable table, Collection<DatabaseField> pkFields, Collection<DatabaseField> assignedFields)H2 does not allow using () in the update if only one field.voidHSQLPlatform. writeUpdateOriginalFromTempTableSql(Writer writer, DatabaseTable table, Collection<DatabaseField> pkFields, Collection<DatabaseField> assignedFields)INTERNAL: HSQL does not allow multiple fields to be set as a list, so each field needs to be set one by one.voidInformix11Platform. writeUpdateOriginalFromTempTableSql(Writer writer, DatabaseTable table, Collection<DatabaseField> pkFields, Collection<DatabaseField> assignedFields)OverridesDatabasePlatform.writeUpdateOriginalFromTempTableSql(Writer, DatabaseTable, Collection, Collection)to ensure that aSETclause that is supposed to set a value for only one column does not wrap that column name in parentheses.voidMySQLPlatform. writeUpdateOriginalFromTempTableSql(Writer writer, DatabaseTable table, Collection<DatabaseField> pkFields, Collection<DatabaseField> assignedFields)INTERNAL: Writes MySQL specific SQL for accessing temp tables for update-all queries.voidPostgreSQLPlatform. writeUpdateOriginalFromTempTableSql(Writer writer, DatabaseTable table, Collection<DatabaseField> pkFields, Collection<DatabaseField> assignedFields)INTERNAL: May need to override this method if the platform supports temporary tables and the generated sql doesn't work.voidSQLServerPlatform. writeUpdateOriginalFromTempTableSql(Writer writer, DatabaseTable table, Collection<DatabaseField> pkFields, Collection<DatabaseField> assignedFields)INTERNAL:voidSybasePlatform. writeUpdateOriginalFromTempTableSql(Writer writer, DatabaseTable table, Collection<DatabaseField> pkFields, Collection<DatabaseField> assignedFields)INTERNAL: -
Uses of DatabaseTable in org.eclipse.persistence.sequencing
Fields in org.eclipse.persistence.sequencing declared as DatabaseTable Modifier and Type Field Description protected DatabaseTableTableSequence. tableHold the database tableMethods in org.eclipse.persistence.sequencing that return DatabaseTable Modifier and Type Method Description DatabaseTableTableSequence. getTable()Methods in org.eclipse.persistence.sequencing with parameters of type DatabaseTable Modifier and Type Method Description voidTableSequence. setTable(DatabaseTable table) -
Uses of DatabaseTable in org.eclipse.persistence.tools.schemaframework
Fields in org.eclipse.persistence.tools.schemaframework declared as DatabaseTable Modifier and Type Field Description protected DatabaseTableTableDefinition. tableMethods in org.eclipse.persistence.tools.schemaframework that return DatabaseTable Modifier and Type Method Description DatabaseTableTableSequenceDefinition. getSequenceTable()Return the database table for the sequence.DatabaseTableTableDefinition. getTable()Methods in org.eclipse.persistence.tools.schemaframework with parameters of type DatabaseTable Modifier and Type Method Description protected TableDefinitionDefaultTableGenerator. getTableDefFromDBTable(DatabaseTable databaseTable)Build a table definition object from a database table objectvoidTableDefinition. setTable(DatabaseTable table)
-