All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.apache.openjpa.abstractstore.package.html Maven / Gradle / Ivy

There is a newer version: 4.0.0
Show newest version



OpenJPA Abstract StoreManager Implementation

This package provides some infrastructure classes to help in the creation of OpenJPA drivers for new non-relational data stores.

To create support for a new data store:

  • Extend AbstractStoreManager following the rules outlined in its documentation.

  • Configure your org.apache.openjpa.properties file (or your resource archive configuration file) to use AbstractStoreBrokerFactory, and specify your AbstractStore extension as the org.apache.openjpa.abstractstore.AbstractStoreManager class:

    openjpa.BrokerFactory: abstractstore
    openjpa.abstractstore.AbstractStoreManager: com.xyz.MyAbstractStoreManagerSubclass

Additionally, you can optionally extend OpenJPAConfigurationImpl to define your own configuration options, using the helper classes defined in the org.apache.openjpa.lib.conf package. To do this you must also override the AbstractStoreManager.newConfiguration method.

For a sample of how to use this package, see the org.apache.openjpa.xmlstore abstract store implementation.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy