Uses of Class
org.apache.openjpa.jdbc.schema.Table

Packages that use Table
org.apache.openjpa.jdbc.kernel OpenJPA-JDBC Runtime Kernel 
org.apache.openjpa.jdbc.kernel.exps OpenJPA-JDBC Expression Tree 
org.apache.openjpa.jdbc.meta OpenJPA-JDBC ORM Metadata 
org.apache.openjpa.jdbc.meta.strats OpenJPA-JDBC ORM Strategies 
org.apache.openjpa.jdbc.schema OpenJPA-JDBC Schema Management 
org.apache.openjpa.jdbc.sql OpenJPA-JDBC SQL Abstraction 
org.apache.openjpa.persistence.jdbc OpenJPA JPA-JDBC 
 

Uses of Table in org.apache.openjpa.jdbc.kernel
 

Methods in org.apache.openjpa.jdbc.kernel with parameters of type Table
protected  Column ValueTableJDBCSeq.addPrimaryKeyColumn(Table table)
           
protected  Column TableJDBCSeq.addPrimaryKeyColumn(Table table)
          Add the primary key column to the given table and return it.
protected  Column ClassTableJDBCSeq.addPrimaryKeyColumn(Table table)
           
 

Uses of Table in org.apache.openjpa.jdbc.kernel.exps
 

Methods in org.apache.openjpa.jdbc.kernel.exps with parameters of type Table
 String FilterValue.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
 

Methods in org.apache.openjpa.jdbc.meta that return Table
 Table MappingInfo.createTable(MetaDataContext context, MappingInfo.TableDefaults def, String schemaName, String given, boolean adapt)
          Find or generate a table for a mapping.
 Table FieldMapping.getTable()
          The mapping's primary table.
 Table ClassMapping.getTable()
          The mapping's primary table.
 Table ClassMappingInfo.getTable(ClassMapping cls, boolean adapt)
          Return the table for the given class.
 Table FieldMappingInfo.getTable(FieldMapping field, boolean create, boolean adapt)
          Return the table for the given field, or null if no table given.
 

Methods in org.apache.openjpa.jdbc.meta with parameters of type Table
protected  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 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.
 String ReverseCustomizer.getClassName(Table table, String defaultName)
          Return the fully-qualified class name to generate for the given table.
 String PropertiesReverseCustomizer.getClassName(Table table, String defaultName)
           
 Column[] ValueMappingInfo.getColumns(ValueMapping val, String name, Column[] tmplates, Table table, boolean adapt)
          Return the columns for this value, based on the given templates.
 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 NoneMappingDefaults.getForeignKey(ValueMapping vm, String name, Table local, Table foreign, boolean inverse)
           
 ForeignKey MappingDefaultsImpl.getForeignKey(ValueMapping vm, String name, Table local, Table foreign, boolean inverse)
           
 ForeignKey MappingDefaults.getForeignKey(ValueMapping vm, String 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.
 Index NoneMappingDefaults.getIndex(Discriminator disc, Table table, Column[] cols)
           
 Index MappingDefaultsImpl.getIndex(Discriminator disc, Table table, Column[] cols)
           
 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 NoneMappingDefaults.getIndex(ValueMapping vm, String name, Table table, Column[] cols)
           
 Index MappingDefaultsImpl.getIndex(ValueMapping vm, String name, Table table, Column[] cols)
           
 Index MappingDefaults.getIndex(ValueMapping vm, String 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 NoneMappingDefaults.getIndex(Version vers, Table table, Column[] cols)
           
 Index MappingDefaultsImpl.getIndex(Version vers, Table table, Column[] cols)
           
 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.
protected  String MappingDefaultsImpl.getIndexName(String name, Table table, Column[] cols)
          Generate an index name.
 ForeignKey FieldMappingInfo.getJoin(FieldMapping field, Table table, boolean adapt)
          Return the join from the field table to the owning class table.
 ForeignKey NoneMappingDefaults.getJoinForeignKey(ClassMapping cls, Table local, Table foreign)
           
 ForeignKey MappingDefaultsImpl.getJoinForeignKey(ClassMapping cls, Table local, Table foreign)
           
 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 NoneMappingDefaults.getJoinForeignKey(FieldMapping fm, Table local, Table foreign)
           
 ForeignKey MappingDefaultsImpl.getJoinForeignKey(FieldMapping fm, Table local, Table foreign)
           
 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.
 Index NoneMappingDefaults.getJoinIndex(FieldMapping fm, Table table, Column[] cols)
           
 Index MappingDefaultsImpl.getJoinIndex(FieldMapping fm, Table table, Column[] cols)
           
 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.
 Unique NoneMappingDefaults.getJoinUnique(FieldMapping fm, Table table, Column[] cols)
           
 Unique MappingDefaultsImpl.getJoinUnique(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.
 Column ValueMappingInfo.getNullIndicatorColumn(ValueMapping val, String name, Table table, boolean adapt)
          Return the null indicator column for this value, or null if none.
 Column FieldMappingInfo.getOrderColumn(FieldMapping field, Table table, boolean adapt)
          Return the ordering column for this field, or null if none.
 String NoneMappingDefaults.getPrimaryKeyName(ClassMapping cm, Table table)
           
 String MappingDefaultsImpl.getPrimaryKeyName(ClassMapping cm, Table table)
           
 String MappingDefaults.getPrimaryKeyName(ClassMapping cm, Table table)
          Return the name of the primary key for the table of the given class, or null for database default.
 ForeignKey ClassMappingInfo.getSuperclassJoin(ClassMapping cls, Table table, boolean adapt)
          Return the join from this class to its superclass.
 int ReverseCustomizer.getTableType(Table table, int defaultType)
          Return the type of the given table, or the given default type.
 int PropertiesReverseCustomizer.getTableType(Table table, int defaultType)
           
 Unique NoneMappingDefaults.getUnique(ValueMapping vm, String name, Table table, Column[] cols)
           
 Unique MappingDefaultsImpl.getUnique(ValueMapping vm, String name, Table table, Column[] cols)
           
 Unique MappingDefaults.getUnique(ValueMapping vm, String name, Table table, Column[] cols)
          Return a default constraint for the value, or null if the value columns should not be constrained by default.
 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 NoneMappingDefaults.installPrimaryKey(FieldMapping fm, Table table)
           
 void MappingDefaultsImpl.installPrimaryKey(FieldMapping fm, Table table)
           
 void MappingDefaults.installPrimaryKey(FieldMapping fm, Table table)
          If desired, install a primary key on the given secondary 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.
 ClassMapping 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 NoneMappingDefaults.populateColumns(Discriminator disc, Table table, Column[] cols)
           
 void MappingDefaultsImpl.populateColumns(Discriminator disc, Table table, Column[] cols)
           
 void MappingDefaults.populateColumns(Discriminator disc, Table table, Column[] cols)
          Fill in default information for the given discriminator columns.
 void NoneMappingDefaults.populateColumns(ValueMapping vm, String name, Table table, Column[] cols)
           
 void MappingDefaultsImpl.populateColumns(ValueMapping vm, String name, Table table, Column[] cols)
           
 void MappingDefaults.populateColumns(ValueMapping vm, String name, Table table, Column[] cols)
          Fill in default information for the given value columns.
 void NoneMappingDefaults.populateColumns(Version vers, Table table, Column[] cols)
           
 void MappingDefaultsImpl.populateColumns(Version vers, Table table, Column[] cols)
           
 void MappingDefaults.populateColumns(Version vers, Table table, Column[] cols)
          Fill in default information for the given version columns.
 void NoneMappingDefaults.populateDataStoreIdColumns(ClassMapping cls, Table table, Column[] cols)
           
 void MappingDefaultsImpl.populateDataStoreIdColumns(ClassMapping cls, Table table, Column[] cols)
           
 void MappingDefaults.populateDataStoreIdColumns(ClassMapping cls, Table table, Column[] cols)
          Fill in default information for the given datastore identity columns.
 void NoneMappingDefaults.populateForeignKeyColumn(ValueMapping vm, String name, Table local, Table foreign, Column col, Object target, boolean inverse, int pos, int cols)
           
 void MappingDefaultsImpl.populateForeignKeyColumn(ValueMapping vm, String name, Table local, Table foreign, Column col, Object target, boolean inverse, int pos, int cols)
           
 void MappingDefaults.populateForeignKeyColumn(ValueMapping vm, String 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 NoneMappingDefaults.populateJoinColumn(ClassMapping cm, Table local, Table foreign, Column col, Object target, int pos, int cols)
           
 void MappingDefaultsImpl.populateJoinColumn(ClassMapping cm, Table local, Table foreign, Column col, Object target, 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 NoneMappingDefaults.populateJoinColumn(FieldMapping fm, 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 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.
 boolean NoneMappingDefaults.populateNullIndicatorColumns(ValueMapping vm, String name, Table table, Column[] cols)
           
 boolean MappingDefaultsImpl.populateNullIndicatorColumns(ValueMapping vm, String name, Table table, Column[] cols)
           
 boolean MappingDefaults.populateNullIndicatorColumns(ValueMapping vm, String name, Table table, Column[] cols)
          Fill in default information for the given null indicator columns.
 boolean NoneMappingDefaults.populateOrderColumns(FieldMapping fm, Table table, Column[] cols)
           
 boolean MappingDefaultsImpl.populateOrderColumns(FieldMapping fm, Table table, Column[] cols)
           
 boolean MappingDefaults.populateOrderColumns(FieldMapping fm, Table table, Column[] cols)
          Fill in default information for the given order columns.
 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, 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 ReverseCustomizer.unmappedTable(Table table)
          Notification that a table has gone unmapped.
 boolean PropertiesReverseCustomizer.unmappedTable(Table table)
           
 

Uses of Table in org.apache.openjpa.jdbc.meta.strats
 

Methods in org.apache.openjpa.jdbc.meta.strats with parameters of type Table
 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
 Table Schema.addTable(String name)
          Add a table to the schema.
 Table SchemaGroup.findTable(String name)
          Find the table with the given name in the group, using '.' as the catalog separator.
 Table LazySchemaFactory.findTable(String name)
           
 Table DynamicSchemaFactory.findTable(String name)
           
 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 Constraint.getTable()
          Return the table of this constraint.
 Table Column.getTable()
          Return the table for the column.
 Table Schema.getTable(String name)
          Return the table with the given name, or null if none.
 Table[] XMLSchemaSerializer.getTables()
           
 Table[] SchemaSerializer.getTables()
          Return the set of tables that will be serialized.
 Table[] Schema.getTables()
          Return the schema's tables.
 Table Schema.importTable(Table table)
          Import a table from another schema.
protected  Table SchemaGroup.newTable(String name, Schema schema)
          Return a new table with the given name and owner schema.
protected  Table DynamicSchemaFactory.newTable(String name, Schema schema)
           
 

Methods in org.apache.openjpa.jdbc.schema with parameters of type Table
 void XMLSchemaSerializer.addTable(Table table)
           
 void SchemaSerializer.addTable(Table table)
          Add the given table to the set of tables that will be serialized.
 boolean SchemaTool.createIndex(Index idx, Table table)
          Add the given index to the database schema.
 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.
 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.
 boolean SchemaGroup.isKnownTable(Table table)
          Return true if the given table is known to exist.
 boolean DynamicSchemaFactory.isKnownTable(Table table)
           
protected  Column SchemaGroup.newColumn(String name, Table table)
          Return a new column with the given name and owner table.
protected  Column DynamicSchemaFactory.newColumn(String name, Table table)
           
protected  ForeignKey SchemaGroup.newForeignKey(String name, Table table)
          Return a new foreign key with the given name and owner table.
protected  Index SchemaGroup.newIndex(String name, Table table)
          Return a new index with the given name and owner table.
protected  PrimaryKey SchemaGroup.newPrimaryKey(String name, Table table)
          Return a new primary key with the given name and owner table.
protected  Unique SchemaGroup.newUnique(String name, Table table)
          Return a new unique constraint with the given name and owner table.
 boolean XMLSchemaSerializer.removeTable(Table table)
           
 boolean SchemaSerializer.removeTable(Table table)
          Remove the given table from the set to be serialized.
 boolean Schema.removeTable(Table tab)
          Remove the given table from the schema.
 

Constructors in org.apache.openjpa.jdbc.schema with parameters of type Table
Column(String name, Table table)
          Constructor.
ForeignKey(String name, Table table)
          Constructor.
Index(String name, Table table)
          Constructor.
LocalConstraint(String name, Table table)
          Constructor.
PrimaryKey(String name, Table table)
          Constructor.
Unique(String name, Table table)
          Constructor.
 

Uses of Table in org.apache.openjpa.jdbc.sql
 

Methods in org.apache.openjpa.jdbc.sql that return Table
 Table RowImpl.getTable()
           
 Table Row.getTable()
          Return the table for this row.
 Table Join.getTable1()
           
 Table Join.getTable2()
           
 Table[] DBDictionary.getTables(DatabaseMetaData meta, String catalog, String schemaName, String tableName, Connection conn)
          Reflect on the schema to find tables matching the given name pattern.
protected  Table DBDictionary.newTable(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
 SQLBuffer SQLBuffer.append(Table table)
           
 Joins SelectImpl.crossJoin(Table localTable, Table foreignTable)
           
 Joins SelectImpl.SelectResult.crossJoin(Table localTable, Table foreignTable)
           
 Joins Joins.crossJoin(Table localTable, Table foreignTable)
          Perform a cross join on the given tables.
 Row RowManagerImpl.getAllRows(Table table, int action)
           
 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.
 String SelectImpl.getColumnAlias(String col, Table table)
           
 String Select.getColumnAlias(String col, Table table)
          Return the alias for the given column.
 String LogicalUnion.UnionSelect.getColumnAlias(String col, Table table)
           
 String SelectImpl.getColumnAlias(String col, Table table, Joins joins)
           
 String Select.getColumnAlias(String col, Table table, Joins joins)
          Return the alias for the given column.
 String LogicalUnion.UnionSelect.getColumnAlias(String col, Table table, Joins joins)
           
 String[] SybaseDictionary.getCreateTableSQL(Table table)
           
 String[] OracleDictionary.getCreateTableSQL(Table table)
           
 String[] MySQLDictionary.getCreateTableSQL(Table table)
           
 String[] InformixDictionary.getCreateTableSQL(Table table)
           
 String[] HSQLDictionary.getCreateTableSQL(Table table)
           
 String[] H2Dictionary.getCreateTableSQL(Table table)
           
 String[] DBDictionary.getCreateTableSQL(Table table)
          Return a series of SQL statements to create the given table, complete with columns.
 String[] MySQLDictionary.getDeleteTableContentsSQL(Table[] tables)
           
 String[] DBDictionary.getDeleteTableContentsSQL(Table[] tables)
          Create SQL to delete the contents of the specified tables.
 String[] DBDictionary.getDropTableSQL(Table table)
          Return a series of SQL statements to drop the given table.
 String DBDictionary.getFullName(Table table, boolean logical)
          Returns the full name of the table, including the schema (delimited by DBDictionary.catalogSeparator).
 Row RowManagerImpl.getRow(Table table, int action, OpenJPAStateManager sm, boolean create)
           
 Row RowManager.getRow(Table table, int action, OpenJPAStateManager sm, boolean create)
          Return the row for the given table and owner object, or null if create is false and the row has not already been created.
 Row RowManagerImpl.getSecondaryRow(Table table, int action)
           
 Row RowManager.getSecondaryRow(Table table, int action)
          Return a row for the given secondary table.
 String DBDictionary.getValidColumnName(String name, Table table)
          Make any necessary changes to the given column name to make it valid for the current DB.
 String DBDictionary.getValidForeignKeyName(String name, Table table, Table toTable)
          Make any necessary changes to the given foreign key name to make it valid for the current DB.
 String DBDictionary.getValidIndexName(String name, Table table)
          Make any necessary changes to the given index name to make it valid for the current DB.
 String DBDictionary.getValidPrimaryKeyName(String name, Table table)
          Make any necessary changes to the given primary key name to make it valid for the current DB.
 String DBDictionary.getValidUniqueName(String name, Table table)
          Make any necessary changes to the given unique constraint name to make it valid for the current DB.
 boolean SelectImpl.isSelected(Table table)
           
 boolean Select.isSelected(Table table)
          Return whether the given table is being used in this select.
 boolean LogicalUnion.UnionSelect.isSelected(Table table)
           
 boolean PostgresDictionary.isSystemIndex(String name, Table table)
           
 boolean HSQLDictionary.isSystemIndex(String name, Table table)
           
 boolean H2Dictionary.isSystemIndex(String name, Table table)
           
 boolean EmpressDictionary.isSystemIndex(String name, Table table)
           
 boolean DBDictionary.isSystemIndex(String name, Table table)
          This method is used to filter system indexes from database metadata.
 void SybaseDictionary.refSchemaComponents(Table table)
           
 void DBDictionary.refSchemaComponents(Table table)
          Increment the reference count of any table components that this dictionary adds that are not used by mappings.
 

Constructors in org.apache.openjpa.jdbc.sql with parameters of type Table
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
 void 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.populateJoinColumn(FieldMapping fm, Table local, Table foreign, Column col, Object target, int pos, int cols)
           
 



Copyright © 2006-2007 Apache Software Foundation. All Rights Reserved.