Package | Description |
---|---|
org.apache.openjpa.jdbc.identifier | |
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.
|
org.apache.openjpa.persistence.jdbc |
OpenJPA JPA-JDBC
JDBC-specific extensions to OpenJPA JPA runtime.
|
Modifier and Type | Method and Description |
---|---|
DBIdentifier |
DBIdentifierUtilImpl.getValidSequenceIdentifier(DBIdentifier name,
Schema schema,
int maxLen) |
DBIdentifier |
DBIdentifierUtil.getValidSequenceIdentifier(DBIdentifier name,
Schema schema,
int maxLen)
Returns a valid index identifier, based upon the configuration and
provided parameters.
|
DBIdentifier |
DBIdentifierUtilImpl.getValidTableIdentifier(DBIdentifier name,
Schema schema,
int maxLen) |
DBIdentifier |
DBIdentifierUtil.getValidTableIdentifier(DBIdentifier name,
Schema schema,
int maxLen)
Returns a valid table identifier, based upon the configuration and provided
parameters.
|
Modifier and Type | Method and Description |
---|---|
String |
MappingInfo.TableDefaults.get(Schema schema)
Deprecated.
|
DBIdentifier |
MappingInfo.TableDefaults.getIdentifier(Schema schema) |
DBIdentifier |
NoneMappingDefaults.getTableIdentifier(ClassMapping cls,
Schema defaultSchema) |
DBIdentifier |
MappingDefaultsImpl.getTableIdentifier(ClassMapping cls,
Schema schema) |
DBIdentifier |
MappingDefaults.getTableIdentifier(ClassMapping cls,
Schema defaultSchema)
Return the default table name for the given class.
|
DBIdentifier |
NoneMappingDefaults.getTableIdentifier(FieldMapping fm,
Schema defaultSchema) |
DBIdentifier |
MappingDefaultsImpl.getTableIdentifier(FieldMapping fm,
Schema schema) |
DBIdentifier |
MappingDefaults.getTableIdentifier(FieldMapping fm,
Schema defaultSchema)
Return the default secondary table name for the given field.
|
String |
NoneMappingDefaults.getTableName(ClassMapping cls,
Schema schema) |
String |
MappingDefaultsImpl.getTableName(ClassMapping cls,
Schema schema) |
String |
MappingDefaults.getTableName(ClassMapping cls,
Schema defaultSchema)
Deprecated.
|
String |
NoneMappingDefaults.getTableName(FieldMapping fm,
Schema schema) |
String |
MappingDefaultsImpl.getTableName(FieldMapping fm,
Schema schema) |
String |
MappingDefaults.getTableName(FieldMapping fm,
Schema defaultSchema)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Schema |
SchemaGroup.addSchema()
Add a schema to the group.
|
Schema |
SchemaGroup.addSchema(DBIdentifier name)
Add a schema to the group.
|
Schema |
SchemaGroup.addSchema(String name)
Deprecated.
|
Schema |
Sequence.getSchema()
Return the schema for the sequence.
|
Schema |
Table.getSchema()
Return the schema for the table.
|
Schema |
SchemaGroup.getSchema(DBIdentifier name) |
Schema |
SchemaGroup.getSchema(String name)
Deprecated.
|
Schema[] |
SchemaGroup.getSchemas()
Return all schemas.
|
Schema |
SchemaGroup.importSchema(Schema schema)
Import a schema from another group.
|
protected Schema |
SchemaGroup.newSchema(DBIdentifier name) |
protected Schema |
SchemaGroup.newSchema(String name)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
SchemaSerializer.addAll(Schema schema)
Add the given schema's objects to the set of objects that will be
serialized.
|
void |
XMLSchemaSerializer.addAll(Schema schema) |
int |
Schema.compareTo(Schema other) |
Sequence |
SchemaGroup.findSequence(Schema inSchema,
QualifiedDBIdentifier path) |
Sequence |
SchemaGroup.findSequence(Schema inSchema,
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(Schema inSchema,
String name)
Deprecated.
|
Schema |
SchemaGroup.importSchema(Schema schema)
Import a schema from another group.
|
protected Sequence |
SchemaGroup.newSequence(DBIdentifier name,
Schema schema) |
protected Sequence |
SchemaGroup.newSequence(String name,
Schema schema)
Deprecated.
|
protected Table |
SchemaGroup.newTable(DBIdentifier name,
Schema schema) |
protected Table |
DynamicSchemaFactory.newTable(DBIdentifier name,
Schema schema) |
protected Table |
SchemaGroup.newTable(String name,
Schema schema)
Deprecated.
|
boolean |
SchemaSerializer.removeAll(Schema schema)
Remove the given schema's objects from the set to be serialized.
|
boolean |
XMLSchemaSerializer.removeAll(Schema schema) |
boolean |
SchemaGroup.removeSchema(Schema schema)
Remove the given schema from the group.
|
Constructor and Description |
---|
Sequence(DBIdentifier name,
Schema schema) |
Sequence(String name,
Schema schema)
Deprecated.
|
Table(DBIdentifier name,
Schema schema) |
Table(String name,
Schema schema)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
DBDictionary.createIndexIfNecessary(Schema schema,
DBIdentifier table,
Column pkColumn) |
void |
DB2Dictionary.createIndexIfNecessary(Schema schema,
DBIdentifier table,
Column pkColumn) |
void |
DBDictionary.createIndexIfNecessary(Schema schema,
String table,
Column pkColumn)
Deprecated.
|
void |
DB2Dictionary.createIndexIfNecessary(Schema schema,
String table,
Column pkColumn)
Create an index if necessary for some database tables
|
DBIdentifier |
DBDictionary.getValidSequenceName(DBIdentifier name,
Schema schema)
Make any necessary changes to the given sequence name to make it valid
for the current DB.
|
String |
DBDictionary.getValidSequenceName(String name,
Schema schema)
Deprecated.
|
DBIdentifier |
DBDictionary.getValidTableName(DBIdentifier name,
Schema schema)
Make any necessary changes to the given table name to make it valid for
the current DB.
|
String |
DBDictionary.getValidTableName(String name,
Schema schema)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
DBIdentifier |
PersistenceMappingDefaults.getTableIdentifier(FieldMapping fm,
Schema schema) |
String |
PersistenceMappingDefaults.getTableName(ClassMapping cls,
Schema schema) |
String |
PersistenceMappingDefaults.getTableName(FieldMapping fm,
Schema schema) |
Copyright © 2006–2020 Apache Software Foundation. All rights reserved.