org.apache.openjpa.jdbc.schema
Interface SchemaFactory

All Known Implementing Classes:
DynamicSchemaFactory, FileSchemaFactory, LazySchemaFactory, TableSchemaFactory

public interface SchemaFactory

Factory for SchemaGroups. Users can plug in their own factory implementation, or rely on the ones provided. Most schema factories will probably implement Configurable to receive the system configuration on construction.

Author:
Abe White

Method Summary
 SchemaGroup readSchema()
          Return the schema group for the current object model and database.
 void storeSchema(SchemaGroup schema)
          Record the schema group after changes may have been made.
 

Method Detail

readSchema

SchemaGroup readSchema()
Return the schema group for the current object model and database.


storeSchema

void storeSchema(SchemaGroup schema)
Record the schema group after changes may have been made.

Parameters:
schema - the schema definition for the entire system


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

This documentation is deprecated and will be removed in the next release of WebLogic Server.


Oracle Fusion Middleware Apache OpenJPA 1.1.0 API Reference
12c Release 1 (12.1.1)
Part Number E24398_01