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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
tuneDeploy
(Session session) Allow any Session configuration to be tune after meta-data has been processed, but before connecting the session.void
tunePostDeploy
(Session session) Allow any Session configuration to be tune after deploying and connecting the session.void
tunePreDeploy
(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:
tunePreDeploy
in interfaceSessionTuner
-
tuneDeploy
Allow any Session configuration to be tune after meta-data has been processed, but before connecting the session.- Specified by:
tuneDeploy
in interfaceSessionTuner
-
tunePostDeploy
Allow any Session configuration to be tune after deploying and connecting the session.- Specified by:
tunePostDeploy
in interfaceSessionTuner
-