Class RequestEMManager


  • public class RequestEMManager
    extends Object
    • Constructor Detail

      • RequestEMManager

        public RequestEMManager()
    • Method Detail

      • getEntityManager

        public static javax.persistence.EntityManager getEntityManager()
      • closeEntityManager

        public static void closeEntityManager()
      • beginTransaction

        public static void beginTransaction()
      • rollback

        public static void rollback()
      • commit

        public static void commit()
      • isTransactionActive

        public static boolean isTransactionActive()
      • isDbRunning

        public static boolean isDbRunning()
      • setDbRunning

        public static void setDbRunning​(boolean dbRunning)
      • setDefaultUserContext

        public static void setDefaultUserContext​(UserContext uc)
      • getDefaultUserContext

        public static UserContext getDefaultUserContext()
      • isEntityDetached

        public static <I extends Number & Comparable<I>> boolean isEntityDetached​(de.xima.cmn.dao.interfaces.IEntity<I> entity)