Uses of Class
org.apache.openjpa.jdbc.schema.Table
Package
Description
OpenJPA-JDBC Runtime Kernel
OpenJPA-JDBC Expression Tree
OpenJPA-JDBC ORM Metadata
OpenJPA-JDBC ORM Strategies
OpenJPA-JDBC Schema Management
OpenJPA-JDBC SQL Abstraction
OpenJPA JPA-JDBC
-
Uses of Table in org.apache.openjpa.jdbc.identifier
Modifier and TypeMethodDescriptionDBIdentifierUtil.getValidColumnIdentifier
(DBIdentifier name, Table table, int maxLen, boolean checkForUniqueness) Returns a valid column name/identifier, based upon the configuration and provided parameters.DBIdentifierUtilImpl.getValidColumnIdentifier
(DBIdentifier name, Table table, int maxLen, boolean checkForUniqueness) DBIdentifierUtil.getValidForeignKeyIdentifier
(DBIdentifier name, Table table, Table toTable, int maxLen) Returns a valid foreign key identifier, based upon the configuration and provided parameters.DBIdentifierUtilImpl.getValidForeignKeyIdentifier
(DBIdentifier name, Table table, Table toTable, int maxLen) DBIdentifierUtil.getValidIndexIdentifier
(DBIdentifier name, Table table, int maxLen) Returns a valid index identifier, based upon the configuration and provided parameters.DBIdentifierUtilImpl.getValidIndexIdentifier
(DBIdentifier name, Table table, int maxLen) DBIdentifierUtil.getValidUniqueIdentifier
(DBIdentifier name, Table table, int maxLen) Returns a valid unique constraint identifier, based upon the configuration and provided parameters.DBIdentifierUtilImpl.getValidUniqueIdentifier
(DBIdentifier name, Table table, int maxLen) -
Uses of Table in org.apache.openjpa.jdbc.kernel
Modifier and TypeMethodDescriptionprotected Column
ClassTableJDBCSeq.addPrimaryKeyColumn
(Table table) protected Column
TableJDBCSeq.addPrimaryKeyColumn
(Table table) Add the primary key column to the given table and return it.protected Column
ValueTableJDBCSeq.addPrimaryKeyColumn
(Table table) TableJDBCSeq.resolveTableIdentifier
(ClassMapping mapping, Table table) Resolve a fully qualified table nameTableJDBCSeq.resolveTableName
(ClassMapping mapping, Table table) Deprecated. -
Uses of Table in org.apache.openjpa.jdbc.kernel.exps
Modifier and TypeMethodDescriptionFilterValue.getColumnAlias
(String col, Table table) Return the alias to use for the given column (this includes the table alias prefix, if any). -
Uses of Table in org.apache.openjpa.jdbc.meta
Modifier and TypeMethodDescriptionMappingInfo.createTable
(MetaDataContext context, MappingInfo.TableDefaults def, String schemaName, String given, boolean adapt) Deprecated.MappingInfo.createTable
(MetaDataContext context, MappingInfo.TableDefaults def, DBIdentifier schemaName, DBIdentifier given, boolean adapt) ClassMapping.getTable()
The mapping's primary table.ClassMappingInfo.getTable
(ClassMapping cls, boolean adapt) Return the primary table for the given class.ClassMappingInfo.getTable
(ClassMapping cls, String tableName, boolean adapt) Deprecated.ClassMappingInfo.getTable
(ClassMapping cls, DBIdentifier tableName, boolean adapt) Return the named table for the given class.FieldMapping.getTable()
The mapping's primary table.FieldMappingInfo.getTable
(FieldMapping field, boolean create, boolean adapt) Return the table for the given field, or null if no table given.ValueMappingInfo.getTable
(ValueMapping val) Modifier and TypeMethodDescriptionprotected void
MappingDefaultsImpl.correctName
(Table table, Column col) Correct the given column's name.protected Column[]
MappingInfo.createColumns
(MetaDataContext context, String prefix, Column[] tmplates, Table table, boolean adapt) Retrieve/create columns on the given table by merging the given template information with any user-provided information.protected ForeignKey
MappingInfo.createForeignKey
(MetaDataContext context, String prefix, List<Column> given, MappingInfo.ForeignKeyDefaults def, Table table, ClassMapping cls, ClassMapping rel, boolean inversable, boolean adapt) Retrieve/create a foreign key (possibly logical) on the given columns by merging the given template information with any user-provided information.Return a default foreign key for the given tables, or null to create a logical foreign key only.ReverseMappingTool.getClassMapping
(Table table) Return the class mapping for the given table, or null if none.PropertiesReverseCustomizer.getClassName
(Table table, String defaultName) ReverseCustomizer.getClassName
(Table table, String defaultName) Return the fully-qualified class name to generate for the given table.Column[]
ValueMappingInfo.getColumns
(ValueMapping val, String name, Column[] tmplates, Table table, boolean adapt) Deprecated.Column[]
ValueMappingInfo.getColumns
(ValueMapping val, DBIdentifier name, Column[] tmplates, Table table, boolean adapt) Column[]
ClassMappingInfo.getDataStoreIdColumns
(ClassMapping cls, Column[] tmplates, Table table, boolean adapt) Return the datastore identity columns for the given class, based on the given templates.MappingDefaults.getForeignKey
(ValueMapping vm, String name, Table local, Table foreign, boolean inverse) Deprecated.MappingDefaults.getForeignKey
(ValueMapping vm, DBIdentifier name, Table local, Table foreign, boolean inverse) Return a default foreign key for the join from this value to its related type, or null for a logical foreign key only.MappingDefaultsImpl.getForeignKey
(ValueMapping vm, String name, Table local, Table foreign, boolean inverse) Deprecated.MappingDefaultsImpl.getForeignKey
(ValueMapping vm, DBIdentifier name, Table local, Table foreign, boolean inverse) NoneMappingDefaults.getForeignKey
(ValueMapping vm, String name, Table local, Table foreign, boolean inverse) Deprecated.NoneMappingDefaults.getForeignKey
(ValueMapping vm, DBIdentifier name, Table local, Table foreign, boolean inverse) MappingDefaults.getIndex
(Discriminator disc, Table table, Column[] cols) Return a default index for the discriminator, or null if the discriminator columns should not be indexed by default.MappingDefaults.getIndex
(ValueMapping vm, String name, Table table, Column[] cols) Deprecated.MappingDefaults.getIndex
(ValueMapping vm, DBIdentifier name, Table table, Column[] cols) Return a default index for the value, or null if the value columns should not be indexed by default.Return a default index for the version, or null if the version columns should not be indexed by default.MappingDefaultsImpl.getIndex
(Discriminator disc, Table table, Column[] cols) MappingDefaultsImpl.getIndex
(ValueMapping vm, String name, Table table, Column[] cols) Deprecated.MappingDefaultsImpl.getIndex
(ValueMapping vm, DBIdentifier name, Table table, Column[] cols) NoneMappingDefaults.getIndex
(Discriminator disc, Table table, Column[] cols) NoneMappingDefaults.getIndex
(ValueMapping vm, String name, Table table, Column[] cols) NoneMappingDefaults.getIndex
(ValueMapping vm, DBIdentifier name, Table table, Column[] cols) protected String
MappingDefaultsImpl.getIndexName
(String name, Table table, Column[] cols) Deprecated.protected DBIdentifier
MappingDefaultsImpl.getIndexName
(DBIdentifier name, Table table, Column[] cols) FieldMappingInfo.getJoin
(FieldMapping field, Table table, boolean adapt) Return the join from the field table to the owning class table.FieldMappingInfo.getJoin
(FieldMapping field, Table table, boolean adapt, List<Column> cols) FieldMappingInfo.getJoinForeignKey
(FieldMapping field, Table table, boolean adapt) MappingDefaults.getJoinForeignKey
(ClassMapping cls, Table local, Table foreign) Return a default foreign key for the join from this class' table to its superclass' table, or null for a logical foreign key only.MappingDefaults.getJoinForeignKey
(FieldMapping fm, Table local, Table foreign) Return a default foreign key for the join from this field's table to its defining class' table, or null for a logical foreign key only.MappingDefaultsImpl.getJoinForeignKey
(ClassMapping cls, Table local, Table foreign) MappingDefaultsImpl.getJoinForeignKey
(FieldMapping fm, Table local, Table foreign) NoneMappingDefaults.getJoinForeignKey
(ClassMapping cls, Table local, Table foreign) NoneMappingDefaults.getJoinForeignKey
(FieldMapping fm, Table local, Table foreign) MappingDefaults.getJoinIndex
(FieldMapping fm, Table table, Column[] cols) Return a default index for the join, or null if the join columns should not be indexed by default.MappingDefaultsImpl.getJoinIndex
(FieldMapping fm, Table table, Column[] cols) NoneMappingDefaults.getJoinIndex
(FieldMapping fm, Table table, Column[] cols) MappingDefaults.getJoinUnique
(FieldMapping fm, Table table, Column[] cols) Return a default constraint for the join, or null if the join columns should not be constrained by default.MappingDefaultsImpl.getJoinUnique
(FieldMapping fm, Table table, Column[] cols) NoneMappingDefaults.getJoinUnique
(FieldMapping fm, Table table, Column[] cols) ValueMappingInfo.getNullIndicatorColumn
(ValueMapping val, String name, Table table, boolean adapt) Deprecated.ValueMappingInfo.getNullIndicatorColumn
(ValueMapping val, DBIdentifier name, Table table, boolean adapt) FieldMappingInfo.getOrderColumn
(FieldMapping field, Table table, boolean adapt) Return the ordering column for this field, or null if none.MappingDefaults.getPrimaryKeyIdentifier
(ClassMapping cm, Table table) Return the name of the primary key for the table of the given class, or null for database default.MappingDefaultsImpl.getPrimaryKeyIdentifier
(ClassMapping cm, Table table) NoneMappingDefaults.getPrimaryKeyIdentifier
(ClassMapping cm, Table table) MappingDefaults.getPrimaryKeyName
(ClassMapping cm, Table table) Deprecated.MappingDefaultsImpl.getPrimaryKeyName
(ClassMapping cm, Table table) Deprecated.NoneMappingDefaults.getPrimaryKeyName
(ClassMapping cm, Table table) ClassMappingInfo.getSuperclassJoin
(ClassMapping cls, Table table, boolean adapt) Return the join from this class to its superclass.int
PropertiesReverseCustomizer.getTableType
(Table table, int defaultType) int
ReverseCustomizer.getTableType
(Table table, int defaultType) Return the type of the given table, or the given default type.MappingDefaults.getUnique
(ValueMapping vm, String name, Table table, Column[] cols) Deprecated.MappingDefaults.getUnique
(ValueMapping vm, DBIdentifier name, Table table, Column[] cols) Return a default constraint for the value, or null if the value columns should not be constrained by default.MappingDefaultsImpl.getUnique
(ValueMapping vm, String name, Table table, Column[] cols) Deprecated.MappingDefaultsImpl.getUnique
(ValueMapping vm, DBIdentifier name, Table table, Column[] cols) NoneMappingDefaults.getUnique
(ValueMapping vm, String name, Table table, Column[] cols) NoneMappingDefaults.getUnique
(ValueMapping vm, DBIdentifier name, Table table, Column[] cols) ReverseMappingTool.getUniqueForeignKey
(Table table) If the given table has a single unique foreign key or a foreign key that matches the primary key, return it.void
MappingDefaults.installPrimaryKey
(FieldMapping fm, Table table) If desired, install a primary key on the given secondary table.void
MappingDefaultsImpl.installPrimaryKey
(FieldMapping fm, Table table) void
NoneMappingDefaults.installPrimaryKey
(FieldMapping fm, Table table) boolean
ReverseMappingTool.isBaseTable
(Table table) Return whether the given table is a base class table.protected static Column
MappingInfo.mergeColumn
(MetaDataContext context, String prefix, Column tmplate, boolean compat, Column given, Table table, boolean adapt, boolean fill) Merge the given columns if possible.ReverseMappingTool.newClassMapping
(Class cls, Table table) Create a new class to be mapped to a table.void
MappingInfo.ForeignKeyDefaults.populate
(Table local, Table foreign, Column col, Object target, boolean inverse, int pos, int cols) Populate the given foreign key column with defaults.void
MappingDefaults.populateColumns
(Discriminator disc, Table table, Column[] cols) Fill in default information for the given discriminator columns.void
MappingDefaults.populateColumns
(ValueMapping vm, String name, Table table, Column[] cols) Deprecated.void
MappingDefaults.populateColumns
(ValueMapping vm, DBIdentifier name, Table table, Column[] cols) Fill in default information for the given value columns.void
MappingDefaults.populateColumns
(Version vers, Table table, Column[] cols) Fill in default information for the given version columns.void
MappingDefaultsImpl.populateColumns
(Discriminator disc, Table table, Column[] cols) void
MappingDefaultsImpl.populateColumns
(ValueMapping vm, String name, Table table, Column[] cols) void
MappingDefaultsImpl.populateColumns
(ValueMapping vm, DBIdentifier name, Table table, Column[] cols) void
MappingDefaultsImpl.populateColumns
(Version vers, Table table, Column[] cols) void
NoneMappingDefaults.populateColumns
(Discriminator disc, Table table, Column[] cols) void
NoneMappingDefaults.populateColumns
(ValueMapping vm, String name, Table table, Column[] cols) Deprecated.void
NoneMappingDefaults.populateColumns
(ValueMapping vm, DBIdentifier name, Table table, Column[] cols) void
NoneMappingDefaults.populateColumns
(Version vers, Table table, Column[] cols) void
MappingDefaults.populateDataStoreIdColumns
(ClassMapping cls, Table table, Column[] cols) Fill in default information for the given datastore identity columns.void
MappingDefaultsImpl.populateDataStoreIdColumns
(ClassMapping cls, Table table, Column[] cols) void
NoneMappingDefaults.populateDataStoreIdColumns
(ClassMapping cls, Table table, Column[] cols) void
MappingDefaults.populateForeignKeyColumn
(ValueMapping vm, String name, Table local, Table foreign, Column col, Object target, boolean inverse, int pos, int cols) Deprecated.void
MappingDefaults.populateForeignKeyColumn
(ValueMapping vm, DBIdentifier name, Table local, Table foreign, Column col, Object target, boolean inverse, int pos, int cols) Fill in default information for the given column used to join a value to its related type.void
MappingDefaultsImpl.populateForeignKeyColumn
(ValueMapping vm, String name, Table local, Table foreign, Column col, Object target, boolean inverse, int pos, int cols) Deprecated.void
MappingDefaultsImpl.populateForeignKeyColumn
(ValueMapping vm, DBIdentifier name, Table local, Table foreign, Column col, Object target, boolean inverse, int pos, int cols) void
NoneMappingDefaults.populateForeignKeyColumn
(ValueMapping vm, String name, Table local, Table foreign, Column col, Object target, boolean inverse, int pos, int cols) Deprecated.void
NoneMappingDefaults.populateForeignKeyColumn
(ValueMapping vm, DBIdentifier name, Table local, Table foreign, Column col, Object target, boolean inverse, int pos, int cols) void
MappingDefaults.populateJoinColumn
(ClassMapping cm, Table local, Table foreign, Column col, Object target, int pos, int cols) Fill in default information for the given column used to join a class to its superclass table.void
MappingDefaults.populateJoinColumn
(FieldMapping fm, Table local, Table foreign, Column col, Object target, int pos, int cols) Fill in default information for the given column used to join a field to its defining class' table.void
MappingDefaultsImpl.populateJoinColumn
(ClassMapping cm, Table local, Table foreign, Column col, Object target, int pos, int cols) void
MappingDefaultsImpl.populateJoinColumn
(FieldMapping fm, Table local, Table foreign, Column col, Object target, int pos, int cols) void
NoneMappingDefaults.populateJoinColumn
(ClassMapping cm, Table local, Table foreign, Column col, Object target, int pos, int cols) void
NoneMappingDefaults.populateJoinColumn
(FieldMapping fm, Table local, Table foreign, Column col, Object target, int pos, int cols) boolean
MappingDefaults.populateNullIndicatorColumns
(ValueMapping vm, String name, Table table, Column[] cols) Deprecated.boolean
MappingDefaults.populateNullIndicatorColumns
(ValueMapping vm, DBIdentifier name, Table table, Column[] cols) Fill in default information for the given null indicator columns.boolean
MappingDefaultsImpl.populateNullIndicatorColumns
(ValueMapping vm, String name, Table table, Column[] cols) Deprecated.boolean
MappingDefaultsImpl.populateNullIndicatorColumns
(ValueMapping vm, DBIdentifier name, Table table, Column[] cols) boolean
NoneMappingDefaults.populateNullIndicatorColumns
(ValueMapping vm, String name, Table table, Column[] cols) Deprecated.boolean
NoneMappingDefaults.populateNullIndicatorColumns
(ValueMapping vm, DBIdentifier name, Table table, Column[] cols) boolean
MappingDefaults.populateOrderColumns
(FieldMapping fm, Table table, Column[] cols) Fill in default information for the given order columns.boolean
MappingDefaultsImpl.populateOrderColumns
(FieldMapping fm, Table table, Column[] cols) boolean
NoneMappingDefaults.populateOrderColumns
(FieldMapping fm, Table table, Column[] cols) void
The mapping's primary table.protected static Column
MappingInfo.syncColumn
(MetaDataContext context, Column col, int num, boolean forceJDBCType, Table colTable, Table targetTable, Object target, boolean inverse) Create a copy of the given column with the raw mapping information set correctly, and without settings that match defaults.protected void
MappingInfo.syncForeignKey
(MetaDataContext context, ForeignKey fk, Table local, Table target) Sets internal constraint and column information to match given mapped constraint.boolean
PropertiesReverseCustomizer.unmappedTable
(Table table) boolean
ReverseCustomizer.unmappedTable
(Table table) Notification that a table has gone unmapped. -
Uses of Table in org.apache.openjpa.jdbc.meta.strats
Modifier and TypeMethodDescriptionStateComparisonVersionStrategy.customUpdate
(OpenJPAStateManager sm, JDBCStore store, Table table, boolean record) This method is for class mappings that take over the update process, but still want to use this indicator for optimistic locking.StateComparisonVersionStrategy.CustomUpdate.getAllRows
(Table table, int action) StateComparisonVersionStrategy.CustomUpdate.getRow
(Table table, int action, OpenJPAStateManager sm, boolean create) StateComparisonVersionStrategy.CustomUpdate.getSecondaryRow
(Table table, int action) -
Uses of Table in org.apache.openjpa.jdbc.schema
Modifier and TypeMethodDescriptionDeprecated.Deprecated.Schema.addTable
(DBIdentifier name) Schema.addTable
(DBIdentifier name, DBIdentifier validName) DynamicSchemaFactory.findTable
(DBIdentifier name) DynamicSchemaFactory.findTable
(QualifiedDBIdentifier path) Deprecated.LazySchemaFactory.findTable
(DBIdentifier name) LazySchemaFactory.findTable
(QualifiedDBIdentifier path) Deprecated.SchemaGroup.findTable
(QualifiedDBIdentifier path) Deprecated.SchemaGroup.findTable
(Schema inSchema, DBIdentifier name) SchemaGroup.findTable
(Schema inSchema, DBIdentifier name, DBIdentifier defaultSchemaName) SchemaGroup.findTable
(Schema inSchema, QualifiedDBIdentifier path, DBIdentifier defaultSchemaName) Find the equivalent of the given table in this schema group.ForeignKey.getPrimaryKeyTable()
Returns the table this foreign key is linking to, if it is known yet.Column.getTable()
Return the table for the column.Constraint.getTable()
Return the table of this constraint.Deprecated.Schema.getTable
(DBIdentifier name) Table[]
Schema.getTables()
Return the schema's tables.Table[]
SchemaSerializer.getTables()
Return the set of tables that will be serialized.Table[]
XMLSchemaSerializer.getTables()
Schema.importTable
(Table table) Import a table from another schema.protected Table
DynamicSchemaFactory.newTable
(DBIdentifier name, Schema schema) protected Table
Deprecated.protected Table
SchemaGroup.newTable
(DBIdentifier name, Schema schema) Modifier and TypeMethodDescriptionvoid
Add the given table to the set of tables that will be serialized.void
boolean
SchemaTool.createIndex
(Index idx, Table table) Add the given index to the database schema.boolean
SchemaTool.createIndex
(Index idx, Table table, Unique[] uniques) boolean
SchemaTool.createTable
(Table table) Add the given table to the database schema.boolean
Drop the given table from the database schema.protected ForeignKey
SchemaTool.findForeignKey
(Table dbTable, ForeignKey fk) Find a foreign key in the given table that matches the given one.protected Index
Find an index in the given table that matches the given one.Find the equivalent of the given table in this schema group.Schema.importTable
(Table table) Import a table from another schema.protected boolean
SchemaTool.isDroppable
(Table table) Return true if the table is droppable.boolean
DynamicSchemaFactory.isKnownTable
(Table table) boolean
SchemaGroup.isKnownTable
(Table table) Return true if the given table is known to exist.protected Column
DynamicSchemaFactory.newColumn
(DBIdentifier name, Table table) protected Column
Deprecated.protected Column
SchemaGroup.newColumn
(DBIdentifier name, Table table) protected ForeignKey
SchemaGroup.newForeignKey
(String name, Table table) Deprecated.protected ForeignKey
SchemaGroup.newForeignKey
(DBIdentifier name, Table table) protected Index
Deprecated.protected Index
SchemaGroup.newIndex
(DBIdentifier name, Table table) protected PrimaryKey
SchemaGroup.newPrimaryKey
(String name, Table table) Deprecated.protected PrimaryKey
SchemaGroup.newPrimaryKey
(DBIdentifier name, Table table) protected Unique
Deprecated.protected Unique
SchemaGroup.newUnique
(DBIdentifier name, Table table) boolean
Schema.removeTable
(Table tab) Remove the given table from the schema.boolean
SchemaSerializer.removeTable
(Table table) Remove the given table from the set to be serialized.boolean
XMLSchemaSerializer.removeTable
(Table table) Modifier and TypeMethodDescriptionprotected void
SchemaTool.dropTables
(Collection<Table> tables, SchemaGroup change) Remove the given collection of tables from the database schema.ModifierConstructorDescriptionDeprecated.Column
(DBIdentifier name, Table table) ForeignKey
(String name, Table table) Deprecated.ForeignKey
(DBIdentifier name, Table table) Deprecated.Index
(DBIdentifier name, Table table) LocalConstraint
(String name, Table table) Deprecated.LocalConstraint
(DBIdentifier name, Table table) PrimaryKey
(String name, Table table) Deprecated.PrimaryKey
(DBIdentifier name, Table table) Deprecated.Unique
(DBIdentifier name, Table table) -
Uses of Table in org.apache.openjpa.jdbc.sql
Modifier and TypeMethodDescriptionRow.getTable()
Return the table for this row.RowImpl.getTable()
Join.getTable1()
Join.getTable2()
Table[]
DBDictionary.getTables
(DatabaseMetaData meta, String catalog, String schemaName, String tableName, Connection conn) Deprecated.not used by openjpa internally anymoreTable[]
DBDictionary.getTables
(DatabaseMetaData meta, DBIdentifier sqlCatalog, DBIdentifier sqlSchemaName, DBIdentifier sqlTableName, Connection conn) Reflect on the schema to find tables matching the given name pattern.protected Table
Create a new table from the information in the schema metadata.Modifier and TypeMethodDescriptionPerform a cross join on the given tables.RowManager.getAllRows
(Table table, int action) Return a logical row representing an update that should be made to all rows of the given table.RowManagerImpl.getAllRows
(Table table, int action) LogicalUnion.UnionSelect.getColumnAlias
(String col, Table table) LogicalUnion.UnionSelect.getColumnAlias
(String col, Table table, Joins joins) Select.getColumnAlias
(String col, Table table) Return the alias for the given column.Select.getColumnAlias
(String col, Table table, Joins joins) Return the alias for the given column.SelectImpl.getColumnAlias
(String col, Table table) SelectImpl.getColumnAlias
(String col, Table table, Joins joins) String[]
DBDictionary.getCreateTableSQL
(Table table) Return a series of SQL statements to create the given table, complete with columns.String[]
DBDictionary.getCreateTableSQL
(Table table, SchemaGroup group) Return a series of SQL statements to create the given table, complete with columns.String[]
H2Dictionary.getCreateTableSQL
(Table table) String[]
HSQLDictionary.getCreateTableSQL
(Table table) String[]
InformixDictionary.getCreateTableSQL
(Table table) String[]
MariaDBDictionary.getCreateTableSQL
(Table table) String[]
MySQLDictionary.getCreateTableSQL
(Table table) String[]
OracleDictionary.getCreateTableSQL
(Table table) String[]
SolidDBDictionary.getCreateTableSQL
(Table table, SchemaGroup group) String[]
SybaseDictionary.getCreateTableSQL
(Table table) String[]
DBDictionary.getDeleteTableContentsSQL
(Table[] tables, Connection conn) Create SQL to delete the contents of the specified tables.String[]
MariaDBDictionary.getDeleteTableContentsSQL
(Table[] tables, Connection conn) String[]
MySQLDictionary.getDeleteTableContentsSQL
(Table[] tables, Connection conn) String[]
DBDictionary.getDropTableSQL
(Table table) Return a series of SQL statements to drop the given table.DBDictionary.getFullIdentifier
(Table table, boolean logical) Returns the full name of the table, including the schema (delimited byDBDictionary.catalogSeparator
).DBDictionary.getFullName
(Table table, boolean logical) RowManager.getRow
(Table table, int action, OpenJPAStateManager sm, boolean create) Return the row for the given table and owner object, or null ifcreate
is false and the row has not already been created.RowManagerImpl.getRow
(Table table, int action, OpenJPAStateManager sm, boolean create) RowManager.getSecondaryRow
(Table table, int action) Return a row for the given secondary table.RowManagerImpl.getSecondaryRow
(Table table, int action) DBDictionary.getValidColumnName
(String name, Table table) Deprecated.DBDictionary.getValidColumnName
(String name, Table table, boolean checkForUniqueness) Deprecated.DBDictionary.getValidColumnName
(DBIdentifier name, Table table) Make any necessary changes to the given column name to make it valid for the current DB.DBDictionary.getValidColumnName
(DBIdentifier name, Table table, boolean checkForUniqueness) Make any necessary changes to the given column name to make it valid for the current DB.DBDictionary.getValidForeignKeyName
(String name, Table table, Table toTable) Deprecated.DBDictionary.getValidForeignKeyName
(DBIdentifier name, Table table, Table toTable) Make any necessary changes to the given foreign key name to make it valid for the current DB.DBDictionary.getValidIndexName
(String name, Table table) Deprecated.DBDictionary.getValidIndexName
(DBIdentifier name, Table table) Make any necessary changes to the given index name to make it valid for the current DB.DBDictionary.getValidPrimaryKeyName
(String name, Table table) Make any necessary changes to the given primary key name to make it valid for the current DB.DBDictionary.getValidUniqueName
(String name, Table table) Deprecated.DBDictionary.getValidUniqueName
(DBIdentifier name, Table table) Make any necessary changes to the given unique constraint name to make it valid for the current DB.boolean
LogicalUnion.UnionSelect.isSelected
(Table table) boolean
Select.isSelected
(Table table) Return whether the given table is being used in this select.boolean
SelectImpl.isSelected
(Table table) boolean
DBDictionary.isSystemIndex
(String name, Table table) Deprecated.boolean
DBDictionary.isSystemIndex
(DBIdentifier name, Table table) This method is used to filter system indexes from database metadata.boolean
EmpressDictionary.isSystemIndex
(String name, Table table) boolean
H2Dictionary.isSystemIndex
(String name, Table table) boolean
H2Dictionary.isSystemIndex
(DBIdentifier name, Table table) boolean
HSQLDictionary.isSystemIndex
(String name, Table table) boolean
HSQLDictionary.isSystemIndex
(DBIdentifier name, Table table) boolean
PostgresDictionary.isSystemIndex
(String name, Table table) boolean
PostgresDictionary.isSystemIndex
(DBIdentifier name, Table table) boolean
SolidDBDictionary.isSystemIndex
(DBIdentifier name, Table table) boolean
DBDictionary.needsToCreateIndex
(Index idx, Table table) boolean
DBDictionary.needsToCreateIndex
(Index idx, Table table, Unique[] uniques) boolean
InformixDictionary.needsToCreateIndex
(Index idx, Table table) boolean
SolidDBDictionary.needsToCreateIndex
(Index idx, Table table, Unique[] uniques) void
DBDictionary.refSchemaComponents
(Table table) Increment the reference count of any table components that this dictionary adds that are not used by mappings.void
SybaseDictionary.refSchemaComponents
(Table table) ModifierConstructorDescriptionPrimaryRow
(Table table, int action, OpenJPAStateManager owner) Constructor; supply table and action.Constructor.SecondaryRow
(Table table, int action) Constructor; supply table and action. -
Uses of Table in org.apache.openjpa.persistence.jdbc
Modifier and TypeMethodDescriptionvoid
PersistenceMappingDefaults.populateColumns
(Version vers, Table table, Column[] cols) void
PersistenceMappingDefaults.populateForeignKeyColumn
(ValueMapping vm, String name, Table local, Table foreign, Column col, Object target, boolean inverse, int pos, int cols) void
PersistenceMappingDefaults.populateForeignKeyColumn
(ValueMapping vm, DBIdentifier sName, Table local, Table foreign, Column col, Object target, boolean inverse, int pos, int cols) void
PersistenceMappingDefaults.populateJoinColumn
(FieldMapping fm, Table local, Table foreign, Column col, Object target, int pos, int cols)