Class SafeModeTuner
java.lang.Object
org.eclipse.persistence.tools.tuning.SafeModeTuner
- All Implemented Interfaces:
SessionTuner
Configures the persistence unit for debugging.
This disables caching and several performance optimizations.
The purpose is to provide a simplified debugging and development configuration.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidtuneDeploy(Session session) Allow any Session configuration to be tune after meta-data has been processed, but before connecting the session.voidtunePostDeploy(Session session) Allow any Session configuration to be tune after deploying and connecting the session.voidtunePreDeploy(Map properties) Allow any JPA persistence unit properties to be configured, prior to deployment.
-
Constructor Details
-
SafeModeTuner
public SafeModeTuner()
-
-
Method Details
-
tunePreDeploy
Allow any JPA persistence unit properties to be configured, prior to deployment.- Specified by:
tunePreDeployin interfaceSessionTuner
-
tuneDeploy
Allow any Session configuration to be tune after meta-data has been processed, but before connecting the session.- Specified by:
tuneDeployin interfaceSessionTuner
-
tunePostDeploy
Allow any Session configuration to be tune after deploying and connecting the session.- Specified by:
tunePostDeployin interfaceSessionTuner
-