Package org.apache.openjpa.jdbc.conf
Class JDBCProductDerivation
java.lang.Object
org.apache.openjpa.lib.conf.AbstractProductDerivation
org.apache.openjpa.jdbc.conf.JDBCProductDerivation
- All Implemented Interfaces:
OpenJPAProductDerivation,ProductDerivation
public class JDBCProductDerivation
extends AbstractProductDerivation
implements OpenJPAProductDerivation
Sets JDBC as default store.
-
Field Summary
FieldsFields inherited from interface org.apache.openjpa.conf.OpenJPAProductDerivation
TYPE_PRODUCT_STORE, TYPE_SPEC, TYPE_SPEC_STORE, TYPE_STOREFields inherited from interface org.apache.openjpa.lib.conf.ProductDerivation
TYPE_FEATURE, TYPE_PRODUCT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanProvides the instance with a callback to mutate the initial properties of theConfigurationProvider.Return set of Query hint keys recognized by this receiver.intgetType()Return the type of derivation.voidLoad default alias options into the given map.Methods inherited from class org.apache.openjpa.lib.conf.AbstractProductDerivation
afterSpecificationSet, beforeConfigurationClose, beforeConfigurationLoad, getAnchorsInFile, getAnchorsInResource, getConfigurationPrefix, getDefaultResourceLocation, load, load, loadDefaults, loadGlobals, validateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.openjpa.lib.conf.ProductDerivation
afterSpecificationSet, beforeConfigurationClose, beforeConfigurationLoad, getAnchorsInFile, getAnchorsInResource, getConfigurationPrefix, getDefaultResourceLocation, load, load, loadDefaults, loadGlobals, validate
-
Field Details
-
PREFIX
- See Also:
-
-
Constructor Details
-
JDBCProductDerivation
public JDBCProductDerivation()
-
-
Method Details
-
putBrokerFactoryAliases
Description copied from interface:OpenJPAProductDerivationLoad default alias options into the given map. Each entry maps an alias to a broker factory class name. Replace anything previously under the desired keys.- Specified by:
putBrokerFactoryAliasesin interfaceOpenJPAProductDerivation
-
getType
public int getType()Description copied from interface:ProductDerivationReturn the type of derivation.- Specified by:
getTypein interfaceProductDerivation
-
beforeConfigurationConstruct
Description copied from interface:ProductDerivationProvides the instance with a callback to mutate the initial properties of theConfigurationProvider. This is primarily to alter or add properties that determine what type of configuration is constructed, and therefore is typically used at runtime only.- Specified by:
beforeConfigurationConstructin interfaceProductDerivation- Overrides:
beforeConfigurationConstructin classAbstractProductDerivation- Returns:
- true if given ConfigurationProvider has been mutated.
-
getSupportedQueryHints
Description copied from interface:ProductDerivationReturn set of Query hint keys recognized by this receiver.- Specified by:
getSupportedQueryHintsin interfaceProductDerivation- Overrides:
getSupportedQueryHintsin classAbstractProductDerivation
-