Uses of Class
org.apache.openjpa.jdbc.schema.SchemaGroup
Packages that use SchemaGroup
Package
Description
OpenJPA-JDBC Runtime Kernel
OpenJPA-JDBC ORM Metadata
OpenJPA-JDBC Schema Management
OpenJPA-JDBC SQL Abstraction
-
Uses of SchemaGroup in org.apache.openjpa.jdbc.kernel
Methods in org.apache.openjpa.jdbc.kernel with parameters of type SchemaGroupModifier and TypeMethodDescriptionvoid
AbstractJDBCSeq.addSchema
(ClassMapping mapping, SchemaGroup group) No-op.void
JDBCSeq.addSchema
(ClassMapping mapping, SchemaGroup group) Add any tables, etc needed by this factory for the given mapping to the given schema group, if they do not exist already.void
NativeJDBCSeq.addSchema
(ClassMapping mapping, SchemaGroup group) void
TableJDBCSeq.addSchema
(ClassMapping mapping, SchemaGroup group) -
Uses of SchemaGroup in org.apache.openjpa.jdbc.meta
Methods in org.apache.openjpa.jdbc.meta that return SchemaGroupModifier and TypeMethodDescriptionMappingRepository.getSchemaGroup()
Representation of the database schema.MappingTool.getSchemaGroup()
Return the schema group to use in mapping.ReverseMappingTool.getSchemaGroup()
Return the schema group to reverse map.Methods in org.apache.openjpa.jdbc.meta with parameters of type SchemaGroupModifier and TypeMethodDescriptionvoid
MappingRepository.setSchemaGroup
(SchemaGroup schema) Representation of the database schema.void
MappingTool.setSchemaGroup
(SchemaGroup schema) Set the schema to use in mapping.void
ReverseMappingTool.setSchemaGroup
(SchemaGroup schema) Set the schema to reverse map. -
Uses of SchemaGroup in org.apache.openjpa.jdbc.schema
Subclasses of SchemaGroup in org.apache.openjpa.jdbc.schemaModifier and TypeClassDescriptionclass
Factory whose schema group dynamically fills itself with information as mappings validate themselves in theirmap
method.class
Factory that uses database metadata to construct the system schema.Methods in org.apache.openjpa.jdbc.schema that return SchemaGroupModifier and TypeMethodDescriptionprotected SchemaGroup
SchemaTool.assertSchemaGroup()
SchemaTool.getDBSchemaGroup()
Return the database schema.protected SchemaGroup
SchemaTool.getDBSchemaGroup
(boolean full) Return the database schema.Schema.getSchemaGroup()
Return the schema's group.SchemaGenerator.getSchemaGroup()
Return the current schema group.SchemaParser.getSchemaGroup()
Return the current schema group.SchemaTool.getSchemaGroup()
Return the schema group the tool will act on.XMLSchemaParser.getSchemaGroup()
protected SchemaGroup
SchemaGroup.newInstance()
Create a new instance of this class.DynamicSchemaFactory.readSchema()
FileSchemaFactory.readSchema()
LazySchemaFactory.readSchema()
SchemaFactory.readSchema()
Return the schema group for the current object model and database.TableSchemaFactory.readSchema()
Methods in org.apache.openjpa.jdbc.schema with parameters of type SchemaGroupModifier and TypeMethodDescriptionprotected void
SchemaTool.add
(SchemaGroup db, SchemaGroup repos) Adds all database components in the repository schema that are not present in the given database schema to the database.void
SchemaSerializer.addAll
(SchemaGroup group) Add all the objects in the given group to the set of objects that will be serialized.void
XMLSchemaSerializer.addAll
(SchemaGroup group) protected void
SchemaTool.buildSchema
(SchemaGroup db, SchemaGroup repos, boolean considerDatabaseState) protected void
SchemaGroup.copy
(SchemaGroup group) Copy cloneable state from the given instance.protected void
SchemaTool.drop
(SchemaGroup db, SchemaGroup repos) protected void
SchemaTool.dropTables
(Collection<Table> tables, SchemaGroup change) Remove the given collection of tables from the database schema.boolean
SchemaSerializer.removeAll
(SchemaGroup group) Remove all schemas in the given group from the set to be serialized.boolean
XMLSchemaSerializer.removeAll
(SchemaGroup group) protected void
SchemaTool.retain
(SchemaGroup db, SchemaGroup repos, boolean tables, boolean sequences) Drops all database components that are in the given database schema but not in the repository schema.void
SchemaTool.setDBSchemaGroup
(SchemaGroup db) Set the database schema.void
SchemaGenerator.setSchemaGroup
(SchemaGroup group) Set the schema group to add generated schemas to.void
SchemaParser.setSchemaGroup
(SchemaGroup group) Set the current schema group; this clears all state from the last group.void
SchemaTool.setSchemaGroup
(SchemaGroup group) Set the schema group the tool will act on.void
XMLSchemaParser.setSchemaGroup
(SchemaGroup group) void
DynamicSchemaFactory.storeSchema
(SchemaGroup schema) void
FileSchemaFactory.storeSchema
(SchemaGroup schema) void
LazySchemaFactory.storeSchema
(SchemaGroup schema) void
SchemaFactory.storeSchema
(SchemaGroup schema) Record the schema group after changes may have been made.void
TableSchemaFactory.storeSchema
(SchemaGroup schema) Constructors in org.apache.openjpa.jdbc.schema with parameters of type SchemaGroupModifierConstructorDescriptionSchema
(String name, SchemaGroup group) Deprecated.Schema
(DBIdentifier name, SchemaGroup group) -
Uses of SchemaGroup in org.apache.openjpa.jdbc.sql
Methods in org.apache.openjpa.jdbc.sql with parameters of type SchemaGroupModifier and TypeMethodDescriptionString[]
DBDictionary.getCreateTableSQL
(Table table, SchemaGroup group) Return a series of SQL statements to create the given table, complete with columns.String[]
SolidDBDictionary.getCreateTableSQL
(Table table, SchemaGroup group) protected boolean
SolidDBDictionary.sequenceExists
(String schemaName, String seqName, SchemaGroup group)