Class TransientHibernateHandle

  • All Implemented Interfaces:
    Handle, ExportHibernateHandle, Serializable

    @Deprecated
    public class TransientHibernateHandle
    extends Object
    implements Handle, ExportHibernateHandle
    Deprecated.
    since 8.0.0
    This handle implementation cannot be converted to a String. It is intended to be used in memory during long transactions to maintain large collections of persistent objects while using less memory. This would be temporarily available to support legacy import export and removed in 8.0. This handle implementation cannot be converted to a String. It is intended to be used in memory during long transactions to maintain large collections of persistent objects while using less memory.
    Since:
    8.0.0
    See Also:
    Serialized Form
    • Field Detail

      • storage

        protected final Object storage
        Deprecated.
    • Constructor Detail

      • TransientHibernateHandle

        @Deprecated
        public TransientHibernateHandle​(Class clazz,
                                        Object id)
        Deprecated.
        since 6.0 Use TransientHibernateHandle.create as an alternative
      • TransientHibernateHandle

        @Deprecated
        public TransientHibernateHandle​(org.hibernate.Session session,
                                        Object object)
        Deprecated.
        since 6.0 Use TransientHibernateHandle.create as an alternative
    • Method Detail

      • equals

        public boolean equals​(Object obj)
        Deprecated.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Deprecated.
        Overrides:
        hashCode in class Object
      • toString

        public String toString()
        Deprecated.
        Description copied from interface: Handle
        The toString() method of a Handle must be written so that the AnyTypeObjectDao (for example) can resolve the String representation of a Handle back to a Handle object, and thus find the referenced object
        Specified by:
        toString in interface Handle
        Overrides:
        toString in class Object
        Returns:
        a String representation of this Handle that can be resolved back to the same object.