Package | Description |
---|---|
org.apache.openjpa.jdbc.kernel |
OpenJPA-JDBC Runtime Kernel
Runtime services for the JDBC OpenJPA implementation.
|
org.apache.openjpa.jdbc.meta |
OpenJPA-JDBC ORM Metadata
This package extends the standard persistence metadata with
object-relational mapping information.
|
org.apache.openjpa.jdbc.schema |
OpenJPA-JDBC Schema Management
This package provides utilities for managing the schema of
persistent objects stored in a relational database.
|
org.apache.openjpa.jdbc.sql |
OpenJPA-JDBC SQL Abstraction
Utilities for generating SQL.
|
Modifier and Type | Method and Description |
---|---|
void |
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 |
TableJDBCSeq.addSchema(ClassMapping mapping,
SchemaGroup group) |
void |
NativeJDBCSeq.addSchema(ClassMapping mapping,
SchemaGroup group) |
Modifier and Type | Method and Description |
---|---|
SchemaGroup |
ReverseMappingTool.getSchemaGroup()
Return the schema group to reverse map.
|
SchemaGroup |
MappingRepository.getSchemaGroup()
Representation of the database schema.
|
SchemaGroup |
MappingTool.getSchemaGroup()
Return the schema group to use in mapping.
|
Modifier and Type | Method and Description |
---|---|
void |
ReverseMappingTool.setSchemaGroup(SchemaGroup schema)
Set the schema to reverse map.
|
void |
MappingRepository.setSchemaGroup(SchemaGroup schema)
Representation of the database schema.
|
void |
MappingTool.setSchemaGroup(SchemaGroup schema)
Set the schema to use in mapping.
|
Modifier and Type | Class and Description |
---|---|
class |
DynamicSchemaFactory
Factory whose schema group dynamically fills itself with information
as mappings validate themselves in their
map method. |
class |
LazySchemaFactory
Factory that uses database metadata to construct the system schema.
|
Modifier and Type | Method and Description |
---|---|
protected SchemaGroup |
SchemaTool.assertSchemaGroup() |
SchemaGroup |
SchemaTool.getDBSchemaGroup()
Return the database schema.
|
protected SchemaGroup |
SchemaTool.getDBSchemaGroup(boolean full)
Return the database schema.
|
SchemaGroup |
SchemaParser.getSchemaGroup()
Return the current schema group.
|
SchemaGroup |
SchemaGenerator.getSchemaGroup()
Return the current schema group.
|
SchemaGroup |
XMLSchemaParser.getSchemaGroup() |
SchemaGroup |
Schema.getSchemaGroup()
Return the schema's group.
|
SchemaGroup |
SchemaTool.getSchemaGroup()
Return the schema group the tool will act on.
|
protected SchemaGroup |
SchemaGroup.newInstance()
Create a new instance of this class.
|
SchemaGroup |
DynamicSchemaFactory.readSchema() |
SchemaGroup |
FileSchemaFactory.readSchema() |
SchemaGroup |
SchemaFactory.readSchema()
Return the schema group for the current object model and database.
|
SchemaGroup |
LazySchemaFactory.readSchema() |
SchemaGroup |
TableSchemaFactory.readSchema() |
Modifier and Type | Method and Description |
---|---|
protected 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 |
SchemaParser.setSchemaGroup(SchemaGroup group)
Set the current schema group; this clears all state from the last group.
|
void |
SchemaGenerator.setSchemaGroup(SchemaGroup group)
Set the schema group to add generated schemas to.
|
void |
XMLSchemaParser.setSchemaGroup(SchemaGroup group) |
void |
SchemaTool.setSchemaGroup(SchemaGroup group)
Set the schema group the tool will act on.
|
void |
DynamicSchemaFactory.storeSchema(SchemaGroup schema) |
void |
FileSchemaFactory.storeSchema(SchemaGroup schema) |
void |
SchemaFactory.storeSchema(SchemaGroup schema)
Record the schema group after changes may have been made.
|
void |
LazySchemaFactory.storeSchema(SchemaGroup schema) |
void |
TableSchemaFactory.storeSchema(SchemaGroup schema) |
Constructor and Description |
---|
Schema(DBIdentifier name,
SchemaGroup group) |
Schema(String name,
SchemaGroup group)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
String[] |
SolidDBDictionary.getCreateTableSQL(Table table,
SchemaGroup group) |
String[] |
DBDictionary.getCreateTableSQL(Table table,
SchemaGroup group)
Return a series of SQL statements to create the given table, complete
with columns.
|
protected boolean |
SolidDBDictionary.sequenceExists(String schemaName,
String seqName,
SchemaGroup group) |
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.