Uses of Class
org.apache.openjpa.jdbc.schema.Table
-
Packages that use Table Package Description org.apache.openjpa.jdbc.identifier org.apache.openjpa.jdbc.kernel OpenJPA-JDBC Runtime Kernelorg.apache.openjpa.jdbc.kernel.exps OpenJPA-JDBC Expression Treeorg.apache.openjpa.jdbc.meta OpenJPA-JDBC ORM Metadataorg.apache.openjpa.jdbc.meta.strats OpenJPA-JDBC ORM Strategiesorg.apache.openjpa.jdbc.schema OpenJPA-JDBC Schema Managementorg.apache.openjpa.jdbc.sql OpenJPA-JDBC SQL Abstractionorg.apache.openjpa.persistence.jdbc OpenJPA JPA-JDBC -
-
Uses of Table in org.apache.openjpa.jdbc.identifier
Methods in org.apache.openjpa.jdbc.identifier with parameters of type Table Modifier and Type Method Description DBIdentifier
DBIdentifierUtil. getValidColumnIdentifier(DBIdentifier name, Table table, int maxLen, boolean checkForUniqueness)
Returns a valid column name/identifier, based upon the configuration and provided parameters.DBIdentifier
DBIdentifierUtilImpl. getValidColumnIdentifier(DBIdentifier name, Table table, int maxLen, boolean checkForUniqueness)
DBIdentifier
DBIdentifierUtil. getValidForeignKeyIdentifier(DBIdentifier name, Table table, Table toTable, int maxLen)
Returns a valid foreign key identifier, based upon the configuration and provided parameters.DBIdentifier
DBIdentifierUtilImpl. getValidForeignKeyIdentifier(DBIdentifier name, Table table, Table toTable, int maxLen)
DBIdentifier
DBIdentifierUtil. getValidIndexIdentifier(DBIdentifier name, Table table, int maxLen)
Returns a valid index identifier, based upon the configuration and provided parameters.DBIdentifier
DBIdentifierUtilImpl. getValidIndexIdentifier(DBIdentifier name, Table table, int maxLen)
DBIdentifier
DBIdentifierUtil. getValidUniqueIdentifier(DBIdentifier name, Table table, int maxLen)
Returns a valid unique constraint identifier, based upon the configuration and provided parameters.DBIdentifier
DBIdentifierUtilImpl. getValidUniqueIdentifier(DBIdentifier name, Table table, int maxLen)
-
Uses of Table in org.apache.openjpa.jdbc.kernel
Methods in org.apache.openjpa.jdbc.kernel with parameters of type Table Modifier and Type Method Description protected 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)
DBIdentifier
TableJDBCSeq. resolveTableIdentifier(ClassMapping mapping, Table table)
Resolve a fully qualified table namejava.lang.String
TableJDBCSeq. resolveTableName(ClassMapping mapping, Table table)
Deprecated. -
Uses of Table in org.apache.openjpa.jdbc.kernel.exps
Methods in org.apache.openjpa.jdbc.kernel.exps with parameters of type Table Modifier and Type Method Description java.lang.String
FilterValue. getColumnAlias(java.lang.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
Methods in org.apache.openjpa.jdbc.meta that return Table Modifier and Type Method Description Table
MappingInfo. createTable(MetaDataContext context, MappingInfo.TableDefaults def, java.lang.String schemaName, java.lang.String given, boolean adapt)
Deprecated.Table
MappingInfo. createTable(MetaDataContext context, MappingInfo.TableDefaults def, DBIdentifier schemaName, DBIdentifier given, boolean adapt)
Table
ClassMapping. getTable()
The mapping's primary table.Table
ClassMappingInfo. getTable(ClassMapping cls, boolean adapt)
Return the primary table for the given class.Table
ClassMappingInfo. getTable(ClassMapping cls, java.lang.String tableName, boolean adapt)
Deprecated.Table
ClassMappingInfo. getTable(ClassMapping cls, DBIdentifier tableName, boolean adapt)
Return the named table for the given class.Table
FieldMapping. getTable()
The mapping's primary table.Table
FieldMappingInfo. getTable(FieldMapping field, boolean create, boolean adapt)
Return the table for the given field, or null if no table given.Table
ValueMappingInfo. getTable(ValueMapping val)
Methods in org.apache.openjpa.jdbc.meta with parameters of type Table Modifier and Type Method Description protected void
MappingDefaultsImpl. correctName(Table table, Column col)
Correct the given column's name.protected Column[]
MappingInfo. createColumns(MetaDataContext context, java.lang.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, java.lang.String prefix, java.util.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.ForeignKey
MappingInfo.ForeignKeyDefaults. get(Table local, Table foreign, boolean inverse)
Return a default foreign key for the given tables, or null to create a logical foreign key only.ClassMapping
ReverseMappingTool. getClassMapping(Table table)
Return the class mapping for the given table, or null if none.java.lang.String
PropertiesReverseCustomizer. getClassName(Table table, java.lang.String defaultName)
java.lang.String
ReverseCustomizer. getClassName(Table table, java.lang.String defaultName)
Return the fully-qualified class name to generate for the given table.Column[]
ValueMappingInfo. getColumns(ValueMapping val, java.lang.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.ForeignKey
MappingDefaults. getForeignKey(ValueMapping vm, java.lang.String name, Table local, Table foreign, boolean inverse)
Deprecated.ForeignKey
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.ForeignKey
MappingDefaultsImpl. getForeignKey(ValueMapping vm, java.lang.String name, Table local, Table foreign, boolean inverse)
Deprecated.ForeignKey
MappingDefaultsImpl. getForeignKey(ValueMapping vm, DBIdentifier name, Table local, Table foreign, boolean inverse)
ForeignKey
NoneMappingDefaults. getForeignKey(ValueMapping vm, java.lang.String name, Table local, Table foreign, boolean inverse)
Deprecated.ForeignKey
NoneMappingDefaults. getForeignKey(ValueMapping vm, DBIdentifier name, Table local, Table foreign, boolean inverse)
Index
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.Index
MappingDefaults. getIndex(ValueMapping vm, java.lang.String name, Table table, Column[] cols)
Deprecated.Index
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.Index
MappingDefaults. getIndex(Version vers, Table table, Column[] cols)
Return a default index for the version, or null if the version columns should not be indexed by default.Index
MappingDefaultsImpl. getIndex(Discriminator disc, Table table, Column[] cols)
Index
MappingDefaultsImpl. getIndex(ValueMapping vm, java.lang.String name, Table table, Column[] cols)
Deprecated.Index
MappingDefaultsImpl. getIndex(ValueMapping vm, DBIdentifier name, Table table, Column[] cols)
Index
MappingDefaultsImpl. getIndex(Version vers, Table table, Column[] cols)
Index
NoneMappingDefaults. getIndex(Discriminator disc, Table table, Column[] cols)
Index
NoneMappingDefaults. getIndex(ValueMapping vm, java.lang.String name, Table table, Column[] cols)
Index
NoneMappingDefaults. getIndex(ValueMapping vm, DBIdentifier name, Table table, Column[] cols)
Index
NoneMappingDefaults. getIndex(Version vers, Table table, Column[] cols)
protected java.lang.String
MappingDefaultsImpl. getIndexName(java.lang.String name, Table table, Column[] cols)
Deprecated.protected DBIdentifier
MappingDefaultsImpl. getIndexName(DBIdentifier name, Table table, Column[] cols)
ForeignKey
FieldMappingInfo. getJoin(FieldMapping field, Table table, boolean adapt)
Return the join from the field table to the owning class table.ForeignKey
FieldMappingInfo. getJoin(FieldMapping field, Table table, boolean adapt, java.util.List<Column> cols)
ForeignKey
FieldMappingInfo. getJoinForeignKey(FieldMapping field, Table table, boolean adapt)
ForeignKey
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.ForeignKey
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.ForeignKey
MappingDefaultsImpl. getJoinForeignKey(ClassMapping cls, Table local, Table foreign)
ForeignKey
MappingDefaultsImpl. getJoinForeignKey(FieldMapping fm, Table local, Table foreign)
ForeignKey
NoneMappingDefaults. getJoinForeignKey(ClassMapping cls, Table local, Table foreign)
ForeignKey
NoneMappingDefaults. getJoinForeignKey(FieldMapping fm, Table local, Table foreign)
Index
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.Index
MappingDefaultsImpl. getJoinIndex(FieldMapping fm, Table table, Column[] cols)
Index
NoneMappingDefaults. getJoinIndex(FieldMapping fm, Table table, Column[] cols)
Unique
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.Unique
MappingDefaultsImpl. getJoinUnique(FieldMapping fm, Table table, Column[] cols)
Unique
NoneMappingDefaults. getJoinUnique(FieldMapping fm, Table table, Column[] cols)
Column
ValueMappingInfo. getNullIndicatorColumn(ValueMapping val, java.lang.String name, Table table, boolean adapt)
Deprecated.Column
ValueMappingInfo. getNullIndicatorColumn(ValueMapping val, DBIdentifier name, Table table, boolean adapt)
Column
FieldMappingInfo. getOrderColumn(FieldMapping field, Table table, boolean adapt)
Return the ordering column for this field, or null if none.DBIdentifier
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.DBIdentifier
MappingDefaultsImpl. getPrimaryKeyIdentifier(ClassMapping cm, Table table)
DBIdentifier
NoneMappingDefaults. getPrimaryKeyIdentifier(ClassMapping cm, Table table)
java.lang.String
MappingDefaults. getPrimaryKeyName(ClassMapping cm, Table table)
Deprecated.java.lang.String
MappingDefaultsImpl. getPrimaryKeyName(ClassMapping cm, Table table)
Deprecated.java.lang.String
NoneMappingDefaults. getPrimaryKeyName(ClassMapping cm, Table table)
ForeignKey
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.Unique
MappingDefaults. getUnique(ValueMapping vm, java.lang.String name, Table table, Column[] cols)
Deprecated.Unique
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.Unique
MappingDefaultsImpl. getUnique(ValueMapping vm, java.lang.String name, Table table, Column[] cols)
Deprecated.Unique
MappingDefaultsImpl. getUnique(ValueMapping vm, DBIdentifier name, Table table, Column[] cols)
Unique
NoneMappingDefaults. getUnique(ValueMapping vm, java.lang.String name, Table table, Column[] cols)
Unique
NoneMappingDefaults. getUnique(ValueMapping vm, DBIdentifier name, Table table, Column[] cols)
ForeignKey
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, java.lang.String prefix, Column tmplate, boolean compat, Column given, Table table, boolean adapt, boolean fill)
Merge the given columns if possible.ClassMapping
ReverseMappingTool. newClassMapping(java.lang.Class cls, Table table)
Create a new class to be mapped to a table.void
MappingInfo.ForeignKeyDefaults. populate(Table local, Table foreign, Column col, java.lang.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, java.lang.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, java.lang.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, java.lang.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, java.lang.String name, Table local, Table foreign, Column col, java.lang.Object target, boolean inverse, int pos, int cols)
Deprecated.void
MappingDefaults. populateForeignKeyColumn(ValueMapping vm, DBIdentifier name, Table local, Table foreign, Column col, java.lang.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, java.lang.String name, Table local, Table foreign, Column col, java.lang.Object target, boolean inverse, int pos, int cols)
Deprecated.void
MappingDefaultsImpl. populateForeignKeyColumn(ValueMapping vm, DBIdentifier name, Table local, Table foreign, Column col, java.lang.Object target, boolean inverse, int pos, int cols)
void
NoneMappingDefaults. populateForeignKeyColumn(ValueMapping vm, java.lang.String name, Table local, Table foreign, Column col, java.lang.Object target, boolean inverse, int pos, int cols)
Deprecated.void
NoneMappingDefaults. populateForeignKeyColumn(ValueMapping vm, DBIdentifier name, Table local, Table foreign, Column col, java.lang.Object target, boolean inverse, int pos, int cols)
void
MappingDefaults. populateJoinColumn(ClassMapping cm, Table local, Table foreign, Column col, java.lang.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, java.lang.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, java.lang.Object target, int pos, int cols)
void
MappingDefaultsImpl. populateJoinColumn(FieldMapping fm, Table local, Table foreign, Column col, java.lang.Object target, int pos, int cols)
void
NoneMappingDefaults. populateJoinColumn(ClassMapping cm, Table local, Table foreign, Column col, java.lang.Object target, int pos, int cols)
void
NoneMappingDefaults. populateJoinColumn(FieldMapping fm, Table local, Table foreign, Column col, java.lang.Object target, int pos, int cols)
boolean
MappingDefaults. populateNullIndicatorColumns(ValueMapping vm, java.lang.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, java.lang.String name, Table table, Column[] cols)
Deprecated.boolean
MappingDefaultsImpl. populateNullIndicatorColumns(ValueMapping vm, DBIdentifier name, Table table, Column[] cols)
boolean
NoneMappingDefaults. populateNullIndicatorColumns(ValueMapping vm, java.lang.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
ClassMapping. setTable(Table table)
The mapping's primary table.protected static Column
MappingInfo. syncColumn(MetaDataContext context, Column col, int num, boolean forceJDBCType, Table colTable, Table targetTable, java.lang.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
Methods in org.apache.openjpa.jdbc.meta.strats with parameters of type Table Modifier and Type Method Description StateComparisonVersionStrategy.CustomUpdate
StateComparisonVersionStrategy. 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.Row
StateComparisonVersionStrategy.CustomUpdate. getAllRows(Table table, int action)
Row
StateComparisonVersionStrategy.CustomUpdate. getRow(Table table, int action, OpenJPAStateManager sm, boolean create)
Row
StateComparisonVersionStrategy.CustomUpdate. getSecondaryRow(Table table, int action)
-
Uses of Table in org.apache.openjpa.jdbc.schema
Methods in org.apache.openjpa.jdbc.schema that return Table Modifier and Type Method Description Table
Schema. addTable(java.lang.String name)
Deprecated.Table
Schema. addTable(java.lang.String name, java.lang.String validName)
Deprecated.Table
Schema. addTable(DBIdentifier name)
Table
Schema. addTable(DBIdentifier name, DBIdentifier validName)
Table
DynamicSchemaFactory. findTable(java.lang.String name)
Table
DynamicSchemaFactory. findTable(DBIdentifier name)
Table
DynamicSchemaFactory. findTable(QualifiedDBIdentifier path)
Table
LazySchemaFactory. findTable(java.lang.String name)
Deprecated.Table
LazySchemaFactory. findTable(DBIdentifier name)
Table
LazySchemaFactory. findTable(QualifiedDBIdentifier path)
Table
SchemaGroup. findTable(java.lang.String name)
Deprecated.Table
SchemaGroup. findTable(QualifiedDBIdentifier path)
Table
SchemaGroup. findTable(Schema inSchema, java.lang.String name)
Deprecated.Table
SchemaGroup. findTable(Schema inSchema, DBIdentifier name)
Table
SchemaGroup. findTable(Schema inSchema, DBIdentifier name, DBIdentifier defaultSchemaName)
Table
SchemaGroup. findTable(Schema inSchema, QualifiedDBIdentifier path, DBIdentifier defaultSchemaName)
Table
SchemaGroup. findTable(Table table)
Find the equivalent of the given table in this schema group.Table
ForeignKey. getPrimaryKeyTable()
Returns the table this foreign key is linking to, if it is known yet.Table
Column. getTable()
Return the table for the column.Table
Constraint. getTable()
Return the table of this constraint.Table
Schema. getTable(java.lang.String name)
Deprecated.Table
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()
Table
Schema. importTable(Table table)
Import a table from another schema.protected Table
DynamicSchemaFactory. newTable(DBIdentifier name, Schema schema)
protected Table
SchemaGroup. newTable(java.lang.String name, Schema schema)
Deprecated.protected Table
SchemaGroup. newTable(DBIdentifier name, Schema schema)
Methods in org.apache.openjpa.jdbc.schema with parameters of type Table Modifier and Type Method Description void
SchemaSerializer. addTable(Table table)
Add the given table to the set of tables that will be serialized.void
XMLSchemaSerializer. addTable(Table table)
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
SchemaTool. dropTable(Table table)
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
SchemaTool. findIndex(Table dbTable, Index idx)
Find an index in the given table that matches the given one.Table
SchemaGroup. findTable(Table table)
Find the equivalent of the given table in this schema group.Table
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
SchemaGroup. newColumn(java.lang.String name, Table table)
Deprecated.protected Column
SchemaGroup. newColumn(DBIdentifier name, Table table)
protected ForeignKey
SchemaGroup. newForeignKey(java.lang.String name, Table table)
Deprecated.protected ForeignKey
SchemaGroup. newForeignKey(DBIdentifier name, Table table)
protected Index
SchemaGroup. newIndex(java.lang.String name, Table table)
Deprecated.protected Index
SchemaGroup. newIndex(DBIdentifier name, Table table)
protected PrimaryKey
SchemaGroup. newPrimaryKey(java.lang.String name, Table table)
Deprecated.protected PrimaryKey
SchemaGroup. newPrimaryKey(DBIdentifier name, Table table)
protected Unique
SchemaGroup. newUnique(java.lang.String name, Table table)
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)
Method parameters in org.apache.openjpa.jdbc.schema with type arguments of type Table Modifier and Type Method Description protected void
SchemaTool. dropTables(java.util.Collection<Table> tables, SchemaGroup change)
Remove the given collection of tables from the database schema.Constructors in org.apache.openjpa.jdbc.schema with parameters of type Table Constructor Description Column(java.lang.String name, Table table)
Deprecated.Column(DBIdentifier name, Table table)
ForeignKey(java.lang.String name, Table table)
Deprecated.ForeignKey(DBIdentifier name, Table table)
Index(java.lang.String name, Table table)
Deprecated.Index(DBIdentifier name, Table table)
LocalConstraint(java.lang.String name, Table table)
Deprecated.LocalConstraint(DBIdentifier name, Table table)
PrimaryKey(java.lang.String name, Table table)
Deprecated.PrimaryKey(DBIdentifier name, Table table)
Unique(java.lang.String name, Table table)
Deprecated.Unique(DBIdentifier name, Table table)
-
Uses of Table in org.apache.openjpa.jdbc.sql
Methods in org.apache.openjpa.jdbc.sql that return Table Modifier and Type Method Description Table
Row. getTable()
Return the table for this row.Table
RowImpl. getTable()
Table
Join. getTable1()
Table
Join. getTable2()
Table[]
DBDictionary. getTables(java.sql.DatabaseMetaData meta, java.lang.String catalog, java.lang.String schemaName, java.lang.String tableName, java.sql.Connection conn)
Deprecated.not used by openjpa internally anymoreTable[]
DBDictionary. getTables(java.sql.DatabaseMetaData meta, DBIdentifier sqlCatalog, DBIdentifier sqlSchemaName, DBIdentifier sqlTableName, java.sql.Connection conn)
Reflect on the schema to find tables matching the given name pattern.protected Table
DBDictionary. newTable(java.sql.ResultSet tableMeta)
Create a new table from the information in the schema metadata.Methods in org.apache.openjpa.jdbc.sql with parameters of type Table Modifier and Type Method Description SQLBuffer
SQLBuffer. append(Table table)
Joins
Joins. crossJoin(Table localTable, Table foreignTable)
Perform a cross join on the given tables.Joins
SelectImpl. crossJoin(Table localTable, Table foreignTable)
Joins
SelectImpl.SelectResult. crossJoin(Table localTable, Table foreignTable)
Row
RowManager. getAllRows(Table table, int action)
Return a logical row representing an update that should be made to all rows of the given table.Row
RowManagerImpl. getAllRows(Table table, int action)
java.lang.String
LogicalUnion.UnionSelect. getColumnAlias(java.lang.String col, Table table)
java.lang.String
LogicalUnion.UnionSelect. getColumnAlias(java.lang.String col, Table table, Joins joins)
java.lang.String
Select. getColumnAlias(java.lang.String col, Table table)
Return the alias for the given column.java.lang.String
Select. getColumnAlias(java.lang.String col, Table table, Joins joins)
Return the alias for the given column.java.lang.String
SelectImpl. getColumnAlias(java.lang.String col, Table table)
java.lang.String
SelectImpl. getColumnAlias(java.lang.String col, Table table, Joins joins)
java.lang.String[]
DBDictionary. getCreateTableSQL(Table table)
Return a series of SQL statements to create the given table, complete with columns.java.lang.String[]
DBDictionary. getCreateTableSQL(Table table, SchemaGroup group)
Return a series of SQL statements to create the given table, complete with columns.java.lang.String[]
H2Dictionary. getCreateTableSQL(Table table)
java.lang.String[]
HSQLDictionary. getCreateTableSQL(Table table)
java.lang.String[]
InformixDictionary. getCreateTableSQL(Table table)
java.lang.String[]
MariaDBDictionary. getCreateTableSQL(Table table)
java.lang.String[]
MySQLDictionary. getCreateTableSQL(Table table)
java.lang.String[]
OracleDictionary. getCreateTableSQL(Table table)
java.lang.String[]
SolidDBDictionary. getCreateTableSQL(Table table, SchemaGroup group)
java.lang.String[]
SybaseDictionary. getCreateTableSQL(Table table)
java.lang.String[]
DBDictionary. getDeleteTableContentsSQL(Table[] tables, java.sql.Connection conn)
Create SQL to delete the contents of the specified tables.java.lang.String[]
MariaDBDictionary. getDeleteTableContentsSQL(Table[] tables, java.sql.Connection conn)
java.lang.String[]
MySQLDictionary. getDeleteTableContentsSQL(Table[] tables, java.sql.Connection conn)
java.lang.String[]
DBDictionary. getDropTableSQL(Table table)
Return a series of SQL statements to drop the given table.DBIdentifier
DBDictionary. getFullIdentifier(Table table, boolean logical)
Returns the full name of the table, including the schema (delimited byDBDictionary.catalogSeparator
).java.lang.String
DBDictionary. getFullName(Table table, boolean logical)
Row
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.Row
RowManagerImpl. getRow(Table table, int action, OpenJPAStateManager sm, boolean create)
Row
RowManager. getSecondaryRow(Table table, int action)
Return a row for the given secondary table.Row
RowManagerImpl. getSecondaryRow(Table table, int action)
java.lang.String
DBDictionary. getValidColumnName(java.lang.String name, Table table)
Deprecated.java.lang.String
DBDictionary. getValidColumnName(java.lang.String name, Table table, boolean checkForUniqueness)
Deprecated.DBIdentifier
DBDictionary. getValidColumnName(DBIdentifier name, Table table)
Make any necessary changes to the given column name to make it valid for the current DB.DBIdentifier
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.java.lang.String
DBDictionary. getValidForeignKeyName(java.lang.String name, Table table, Table toTable)
Deprecated.DBIdentifier
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.java.lang.String
DBDictionary. getValidIndexName(java.lang.String name, Table table)
Deprecated.DBIdentifier
DBDictionary. getValidIndexName(DBIdentifier name, Table table)
Make any necessary changes to the given index name to make it valid for the current DB.java.lang.String
DBDictionary. getValidPrimaryKeyName(java.lang.String name, Table table)
Make any necessary changes to the given primary key name to make it valid for the current DB.java.lang.String
DBDictionary. getValidUniqueName(java.lang.String name, Table table)
Deprecated.DBIdentifier
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(java.lang.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(java.lang.String name, Table table)
boolean
H2Dictionary. isSystemIndex(java.lang.String name, Table table)
boolean
H2Dictionary. isSystemIndex(DBIdentifier name, Table table)
boolean
HSQLDictionary. isSystemIndex(java.lang.String name, Table table)
boolean
HSQLDictionary. isSystemIndex(DBIdentifier name, Table table)
boolean
PostgresDictionary. isSystemIndex(java.lang.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)
Constructors in org.apache.openjpa.jdbc.sql with parameters of type Table Constructor Description PrimaryRow(Table table, int action, OpenJPAStateManager owner)
Constructor; supply table and action.RowImpl(Table table, int action)
Constructor.SecondaryRow(Table table, int action)
Constructor; supply table and action. -
Uses of Table in org.apache.openjpa.persistence.jdbc
Methods in org.apache.openjpa.persistence.jdbc with parameters of type Table Modifier and Type Method Description void
PersistenceMappingDefaults. populateColumns(Version vers, Table table, Column[] cols)
void
PersistenceMappingDefaults. populateForeignKeyColumn(ValueMapping vm, java.lang.String name, Table local, Table foreign, Column col, java.lang.Object target, boolean inverse, int pos, int cols)
void
PersistenceMappingDefaults. populateForeignKeyColumn(ValueMapping vm, DBIdentifier sName, Table local, Table foreign, Column col, java.lang.Object target, boolean inverse, int pos, int cols)
void
PersistenceMappingDefaults. populateJoinColumn(FieldMapping fm, Table local, Table foreign, Column col, java.lang.Object target, int pos, int cols)
-