Uses of Class
org.eclipse.persistence.tools.schemaframework.TableDefinition
-
-
Uses of TableDefinition in org.eclipse.persistence.descriptors
Methods in org.eclipse.persistence.descriptors with parameters of type TableDefinition Modifier and Type Method Description voidMultitenantPolicy. 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 TableDefinition Modifier and Type Method Description booleanDatabasePlatform. 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 TableDefinition Modifier and Type Method Description booleanMySQLPlatform. 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 TableDefinition Modifier and Type Method Description protected NonreflectiveMethodDefinitionTableCreatorClassGenerator. buildTableMethod(TableDefinition table) -
Uses of TableDefinition in org.eclipse.persistence.tools.schemaframework
Subclasses of TableDefinition in org.eclipse.persistence.tools.schemaframework Modifier and Type Class Description classTypeTableDefinitionPurpose: Allow for tabels of Oracle 8 object-relational user defined type to be created.Fields in org.eclipse.persistence.tools.schemaframework declared as TableDefinition Modifier and Type Field Description protected TableDefinitionTableSequenceDefinition. tableDefinitionFields in org.eclipse.persistence.tools.schemaframework with type parameters of type TableDefinition Modifier and Type Field Description protected 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 TableDefinition Modifier and Type Method Description TableDefinitionSequenceDefinition. buildTableDefinition()INTERNAL: Return a TableDefinitionTableDefinitionTableSequenceDefinition. buildTableDefinition()INTERNAL: Return a TableDefinition specifying sequence table.TableDefinitionUnaryTableSequenceDefinition. 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 TableDefinition Modifier and Type Method Description List<TableDefinition>TableCreator. getTableDefinitions()Return the tables.Methods in org.eclipse.persistence.tools.schemaframework with parameters of type TableDefinition Modifier and Type Method Description protected 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 TableDefinition Modifier and Type Method Description voidTableCreator. 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 Constructor Description TableCreator(List<TableDefinition> tableDefinitions)
-