Package 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.
Schema components themselves are little more than standard Java beans. Helper classes are responsible for added functionality such as XML serialization/deserialization, etc.
-
Interface Summary Interface Description DriverDataSource A DataSource that allows additional configuration options to be set into it, so that it can wrap a JDBC driver or other DataSource.SchemaFactory Factory forSchemaGroup
s.SchemaGenerator.Listener A listener for a potentially lengthy schema generation process.SchemaParser Interface class for parers that read schema information.SchemaSerializer Interface for schema serializers. -
Class Summary Class Description AutoDriverDataSource Automatic Commons DBCP pooling or Simple non-pooling driver data source.Column Represents a database column.ColumnIO Metadata about column I/O in a specific context.Constraint A table constraint.DataSourceFactory Factory forDataSource
objects.DBCPDriverDataSource Commons DBCP basic pooling driver data source.DynamicSchemaFactory Factory whose schema group dynamically fills itself with information as mappings validate themselves in theirmap
method.FileSchemaFactory Factory that uses an XML schema file to construct the system schema.ForeignKey Represents a database foreign key; may be a logical key with no database representation.ForeignKey.FKMapKey Index Represents a database index.LazySchemaFactory Factory that uses database metadata to construct the system schema.LocalConstraint Constraint over local table columns, as opposed to a foreign key which spans tables.NameSet Name sets track what names have been taken, ignoring case.PrimaryKey Represents a table primary key.Schema Represents a database schema.SchemaGenerator The SchemaGenerator createsSchema
s matching the current database.SchemaGenerator.Event An event corresponding to the generation of a schema object.SchemaGroup Represents a grouping of schemas used in a database.Schemas Helper class to deal with schemas.SchemaTool The SchemaTool is used to manage the database schema.SchemaTool.Flags Run flags.Sequence Represents a database sequence.SimpleDriverDataSource Non-pooling driver data source.Table Represents a database table.TableSchemaFactory Factory that uses an XML schema definition stored in a database table to record the system schema.Unique Represents a unique constraint.XMLSchemaParser Custom SAX parser used to parseSchema
objects.XMLSchemaParser.UniqueInfo Used to hold unique constraint info before it is resolved.XMLSchemaSerializer SerializesSchema
s to XML matching the document type definition defined by theXMLSchemaParser
.