Uses of Class
org.eclipse.persistence.tools.schemaframework.TableDefinition
Packages that use TableDefinition
Package
Description
-
Uses of TableDefinition in org.eclipse.persistence.descriptors
Methods in org.eclipse.persistence.descriptors with parameters of type TableDefinitionModifier and TypeMethodDescriptionvoid
MultitenantPolicy.addToTableDefinition
(TableDefinition tableDefinition) void
SingleTableMultitenantPolicy.addToTableDefinition
(TableDefinition tableDefinition) INTERNAL:void
TablePerMultitenantPolicy.addToTableDefinition
(TableDefinition tableDefinition) INTERNAL:void
VPDMultitenantPolicy.addToTableDefinition
(TableDefinition tableDefinition) INTERNAL: -
Uses of TableDefinition in org.eclipse.persistence.internal.databaseaccess
Methods in org.eclipse.persistence.internal.databaseaccess with parameters of type TableDefinitionModifier and TypeMethodDescriptionboolean
DatabasePlatform.checkTableExists
(DatabaseSessionImpl session, TableDefinition table, boolean suppressLogging) INTERNAL: Executes and evaluates query to check whether given table exists.protected DataReadQuery
DatabasePlatform.getTableExistsQuery
(TableDefinition table) INTERNAL: Returns query to check whether given table exists.void
DatabasePlatform.writeAddColumnClause
(Writer writer, AbstractSession session, TableDefinition table, FieldDefinition field) INTERNAL: May need to override this method if the platform supports ALTER TABLE ADD <column> and the generated sql doesn't work. -
Uses of TableDefinition in org.eclipse.persistence.platform.database
Methods in org.eclipse.persistence.platform.database with parameters of type TableDefinitionModifier and TypeMethodDescriptionboolean
MySQLPlatform.checkTableExists
(DatabaseSessionImpl session, TableDefinition table, boolean suppressLogging) INTERNAL: Executes and evaluates query to check whether given table exists.boolean
OraclePlatform.checkTableExists
(DatabaseSessionImpl session, TableDefinition table, boolean suppressLogging) INTERNAL: Executes and evaluates query to check whether given table exists.protected DataReadQuery
MySQLPlatform.getTableExistsQuery
(TableDefinition table) INTERNAL: Returns query to check whether given table exists.protected DataReadQuery
OraclePlatform.getTableExistsQuery
(TableDefinition table) INTERNAL: Returns query to check whether given table exists.void
HANAPlatform.writeAddColumnClause
(Writer writer, AbstractSession session, TableDefinition table, FieldDefinition field) -
Uses of TableDefinition in org.eclipse.persistence.sessions.factories
Methods in org.eclipse.persistence.sessions.factories with parameters of type TableDefinitionModifier and TypeMethodDescriptionprotected NonreflectiveMethodDefinition
TableCreatorClassGenerator.buildTableMethod
(TableDefinition table) -
Uses of TableDefinition in org.eclipse.persistence.tools.schemaframework
Subclasses of TableDefinition in org.eclipse.persistence.tools.schemaframeworkModifier and TypeClassDescriptionclass
Purpose: Allow for tabels of Oracle 8 object-relational user defined type to be created.Fields in org.eclipse.persistence.tools.schemaframework declared as TableDefinitionModifier and TypeFieldDescriptionprotected TableDefinition
TableSequenceDefinition.tableDefinition
Fields in org.eclipse.persistence.tools.schemaframework with type parameters of type TableDefinitionModifier and TypeFieldDescriptionprotected List
<TableDefinition> TableCreator.tableDefinitions
protected Map
<String, TableDefinition> DefaultTableGenerator.tableMap
Used to track the table definition: keyed by the table name, and valued by the table definition object.Methods in org.eclipse.persistence.tools.schemaframework that return TableDefinitionModifier and TypeMethodDescriptionSequenceDefinition.buildTableDefinition()
INTERNAL: Return a TableDefinitionTableSequenceDefinition.buildTableDefinition()
INTERNAL: Return a TableDefinition specifying sequence table.UnaryTableSequenceDefinition.buildTableDefinition()
INTERNAL: Return a TableDefinition specifying a unary sequence table.protected TableDefinition
DefaultTableGenerator.getTableDefFromDBTable
(DatabaseTable databaseTable) Build a table definition object from a database table objectMethods in org.eclipse.persistence.tools.schemaframework that return types with arguments of type TableDefinitionMethods in org.eclipse.persistence.tools.schemaframework with parameters of type TableDefinitionModifier and TypeMethodDescriptionprotected void
DefaultTableGenerator.addFieldsForMappedKeyMapContainerPolicy
(ContainerPolicy cp, TableDefinition table) The ContainerPolicy may contain some additional fields that should be added to the tableprotected void
DefaultTableGenerator.addForeignKeyConstraint
(TableDefinition sourceTableDef, TableDefinition targetTableDef, List<String> fkFields, List<String> targetFields, boolean cascadeOnDelete) Add a foreign key constraint to the source table.void
TableCreator.addTableDefinition
(TableDefinition tableDefinition) Add the table.protected void
DefaultTableGenerator.addUniqueKeyConstraints
(TableDefinition sourceTableDef, Map<String, List<List<String>>> uniqueConstraintsMap) void
FieldDefinition.appendDBString
(Writer writer, AbstractSession session, TableDefinition table) INTERNAL: Append the database field definition string to the table creation statement.void
SchemaManager.buildFieldTypes
(TableDefinition tableDef) INTERNAL: builds the field names based on the type read in from the builderprotected ForeignKeyConstraint
TableDefinition.buildForeignKeyConstraint
(List<String> fkFieldNames, List<String> pkFieldNames, TableDefinition targetTable, DatabasePlatform platform) Build a foreign key constraint.protected void
DefaultTableGenerator.buildRelationTableFields
(ForeignReferenceMapping mapping, TableDefinition table, List<DatabaseField> fkFields, List<DatabaseField> targetFields) Build field definitions and foreign key constraints for all many-to-many relation table.boolean
SchemaManager.checkTableExists
(TableDefinition table) Check if the table exists by issuing a query.boolean
SchemaManager.checkTableExists
(TableDefinition table, boolean suppressLogging) Check if the table exists by issuing a query.void
SchemaManager.createConstraints
(TableDefinition tableDefinition) Use the table definition to add the constraints to the database, this is normally done in two steps to avoid dependencies.void
SchemaManager.dropConstraints
(TableDefinition tableDefinition) Use the table definition to drop the constraints from the table, this is normally done in two steps to avoid dependencies.protected void
DefaultTableGenerator.setFieldToRelationTable
(DatabaseField dbField, TableDefinition table) Build and add a field definition object to relation tableMethod parameters in org.eclipse.persistence.tools.schemaframework with type arguments of type TableDefinitionModifier and TypeMethodDescriptionvoid
TableCreator.addTableDefinitions
(Collection<TableDefinition> tableDefs) Add a set of tables.void
TableCreator.createConstraints
(List<TableDefinition> tables, DatabaseSession session, SchemaManager schemaManager, boolean build) Create constraints.void
TableCreator.setTableDefinitions
(List<TableDefinition> tableDefinitions) Set the tables.Constructor parameters in org.eclipse.persistence.tools.schemaframework with type arguments of type TableDefinition