Interface HibernateProxy

    • Method Detail

      • extractLazyInitializer

        static LazyInitializer extractLazyInitializer​(Object object)
        Extract the LazyInitializer from the object, if and only if the object is actually an HibernateProxy. If not, null is returned.
        Parameters:
        object - any entity
        Returns:
        either null (if object is not an HibernateProxy) or the LazyInitializer of the HibernateProxy.
      • writeReplace

        Object writeReplace()
        Perform serialization-time write-replacement of this proxy.
        Returns:
        The serializable proxy replacement.
      • getHibernateLazyInitializer

        LazyInitializer getHibernateLazyInitializer()
        Get the underlying lazy initialization handler.
        Returns:
        The lazy initializer.