Class SafeModeTuner

java.lang.Object
org.eclipse.persistence.tools.tuning.SafeModeTuner
All Implemented Interfaces:
SessionTuner

public class SafeModeTuner extends Object implements 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 Details

    • SafeModeTuner

      public SafeModeTuner()
  • Method Details

    • tunePreDeploy

      public void tunePreDeploy(Map properties)
      Allow any JPA persistence unit properties to be configured, prior to deployment.
      Specified by:
      tunePreDeploy in interface SessionTuner
    • tuneDeploy

      public void tuneDeploy(Session session)
      Allow any Session configuration to be tune after meta-data has been processed, but before connecting the session.
      Specified by:
      tuneDeploy in interface SessionTuner
    • tunePostDeploy

      public void tunePostDeploy(Session session)
      Allow any Session configuration to be tune after deploying and connecting the session.
      Specified by:
      tunePostDeploy in interface SessionTuner