Class AbstractSerializableProxy

    • Constructor Detail

      • AbstractSerializableProxy

        protected AbstractSerializableProxy()
        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.lang.Boolean readOnly,
                                            java.lang.String sessionFactoryUuid,
                                            boolean allowLoadOutsideTransaction)
    • Method Detail

      • getEntityName

        protected java.lang.String getEntityName()
      • getId

        protected getId()
      • setReadOnlyBeforeAttachedToSession

        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.
        li - the read-only/modifiable setting to use when associated with a session; null indicates that the default should be used.
        java.lang.IllegalStateException - if isReadOnlySettingAvailable() == true