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 TypeMethodDescriptionvoidMultitenantPolicy.addToTableDefinition(TableDefinition tableDefinition) voidSingleTableMultitenantPolicy.addToTableDefinition(TableDefinition tableDefinition) INTERNAL:voidTablePerMultitenantPolicy.addToTableDefinition(TableDefinition tableDefinition) INTERNAL:voidVPDMultitenantPolicy.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 TypeMethodDescriptionbooleanDatabasePlatform.checkTableExists(DatabaseSessionImpl session, TableDefinition table, boolean suppressLogging) INTERNAL: Executes and evaluates query to check whether given table exists.protected DataReadQueryDatabasePlatform.getTableExistsQuery(TableDefinition table) INTERNAL: Returns query to check whether given table exists.voidDatabasePlatform.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 TypeMethodDescriptionbooleanMySQLPlatform.checkTableExists(DatabaseSessionImpl session, TableDefinition table, boolean suppressLogging) INTERNAL: Executes and evaluates query to check whether given table exists.booleanOraclePlatform.checkTableExists(DatabaseSessionImpl session, TableDefinition table, boolean suppressLogging) INTERNAL: Executes and evaluates query to check whether given table exists.protected DataReadQueryMySQLPlatform.getTableExistsQuery(TableDefinition table) INTERNAL: Returns query to check whether given table exists.protected DataReadQueryOraclePlatform.getTableExistsQuery(TableDefinition table) INTERNAL: Returns query to check whether given table exists.voidHANAPlatform.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 NonreflectiveMethodDefinitionTableCreatorClassGenerator.buildTableMethod(TableDefinition table) -
Uses of TableDefinition in org.eclipse.persistence.tools.schemaframework
Subclasses of TableDefinition in org.eclipse.persistence.tools.schemaframeworkModifier and TypeClassDescriptionclassPurpose: 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 TableDefinitionTableSequenceDefinition.tableDefinitionFields in org.eclipse.persistence.tools.schemaframework with type parameters of type TableDefinitionModifier and TypeFieldDescriptionprotected List<TableDefinition> TableCreator.tableDefinitionsprotected Map<String, TableDefinition> DefaultTableGenerator.tableMapUsed 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 TableDefinitionDefaultTableGenerator.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 voidDefaultTableGenerator.addFieldsForMappedKeyMapContainerPolicy(ContainerPolicy cp, TableDefinition table) The ContainerPolicy may contain some additional fields that should be added to the tableprotected voidDefaultTableGenerator.addForeignKeyConstraint(TableDefinition sourceTableDef, TableDefinition targetTableDef, List<String> fkFields, List<String> targetFields, boolean cascadeOnDelete) Add a foreign key constraint to the source table.voidTableCreator.addTableDefinition(TableDefinition tableDefinition) Add the table.protected voidDefaultTableGenerator.addUniqueKeyConstraints(TableDefinition sourceTableDef, Map<String, List<List<String>>> uniqueConstraintsMap) voidFieldDefinition.appendDBString(Writer writer, AbstractSession session, TableDefinition table) INTERNAL: Append the database field definition string to the table creation statement.voidSchemaManager.buildFieldTypes(TableDefinition tableDef) INTERNAL: builds the field names based on the type read in from the builderprotected ForeignKeyConstraintTableDefinition.buildForeignKeyConstraint(List<String> fkFieldNames, List<String> pkFieldNames, TableDefinition targetTable, DatabasePlatform platform) Build a foreign key constraint.protected voidDefaultTableGenerator.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.booleanSchemaManager.checkTableExists(TableDefinition table) Check if the table exists by issuing a query.booleanSchemaManager.checkTableExists(TableDefinition table, boolean suppressLogging) Check if the table exists by issuing a query.voidSchemaManager.createConstraints(TableDefinition tableDefinition) Use the table definition to add the constraints to the database, this is normally done in two steps to avoid dependencies.voidSchemaManager.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 voidDefaultTableGenerator.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 TypeMethodDescriptionvoidTableCreator.addTableDefinitions(Collection<TableDefinition> tableDefs) Add a set of tables.voidTableCreator.createConstraints(List<TableDefinition> tables, DatabaseSession session, SchemaManager schemaManager, boolean build) Create constraints.voidTableCreator.setTableDefinitions(List<TableDefinition> tableDefinitions) Set the tables.Constructor parameters in org.eclipse.persistence.tools.schemaframework with type arguments of type TableDefinition