Class HibernateHelper


  • public class HibernateHelper
    extends java.lang.Object
    Helper class for hibernate operations.
    Since:
    11.2.0
    Version:
    $Revision: 22603 $ $Date: 2019-03-28 21:05:11 -0300 (Thu, 28 Mar 2019) $
    • Constructor Summary

      Constructors 
      Constructor Description
      HibernateHelper()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean isInsideBeanCallback()
      Returns whether the current thread is inside a bean callback.
      static void onInitialize()
      Performs initialization process.
      static void setInsideBeanCallback​(boolean isInside)
      Sets whether the current thread is inside a bean callback.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • HibernateHelper

        public HibernateHelper()
    • Method Detail

      • setInsideBeanCallback

        public static void setInsideBeanCallback​(boolean isInside)
        Sets whether the current thread is inside a bean callback.
        Parameters:
        isInside - indicates whether the current thread is inside a bean callback.
        Since:
        11.2.0
      • isInsideBeanCallback

        public static boolean isInsideBeanCallback()
        Returns whether the current thread is inside a bean callback.
        Returns:
        whether the current thread is inside a bean callback.
        Since:
        11.2.0
      • onInitialize

        public static void onInitialize()
        Performs initialization process.
        Since:
        11.2.0