Class AbstractSerializableProxy

    • Constructor Detail

      • AbstractSerializableProxy

        @Deprecated
        protected AbstractSerializableProxy()
        Deprecated.
        This constructor was initially intended for serialization only, and is not useful anymore. In any case it should not be relied on by user code.
      • AbstractSerializableProxy

        protected AbstractSerializableProxy​(java.lang.String entityName,
                                            java.io.Serializable id,
                                            java.lang.Boolean readOnly,
                                            java.lang.String sessionFactoryUuid,
                                            boolean allowLoadOutsideTransaction)
    • Method Detail

      • getEntityName

        protected java.lang.String getEntityName()
      • getId

        protected java.io.Serializable getId()
      • setReadOnlyBeforeAttachedToSession

        @Deprecated
        protected void setReadOnlyBeforeAttachedToSession​(AbstractLazyInitializer li)
        Set the read-only/modifiable setting from this object in an AbstractLazyInitializer. This method should only be called during deserialization, before associating the AbstractLazyInitializer with a session.
        Parameters:
        li - the read-only/modifiable setting to use when associated with a session; null indicates that the default should be used.
        Throws:
        java.lang.IllegalStateException - if isReadOnlySettingAvailable() == true