Class TransientHibernateHandle
java.lang.Object
com.atlassian.confluence.core.persistence.hibernate.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:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionTransientHibernateHandle
(Class clazz, Object id) Deprecated.since 6.0 Use TransientHibernateHandle.create as an alternativeTransientHibernateHandle
(org.hibernate.Session session, Object object) Deprecated.since 6.0 Use TransientHibernateHandle.create as an alternative -
Method Summary
Modifier and TypeMethodDescriptionstatic TransientHibernateHandle
create
(Class clazz, Serializable id) Deprecated.boolean
Deprecated.get
(org.hibernate.Session session) Deprecated.getClazz()
Deprecated.getId()
Deprecated.int
hashCode()
Deprecated.toString()
Deprecated.ThetoString()
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
-
Field Details
-
storage
Deprecated.
-
-
Constructor Details
-
TransientHibernateHandle
Deprecated.since 6.0 Use TransientHibernateHandle.create as an alternative -
TransientHibernateHandle
Deprecated.since 6.0 Use TransientHibernateHandle.create as an alternative
-
-
Method Details
-
create
Deprecated. -
getClazz
Deprecated.- Specified by:
getClazz
in interfaceExportHibernateHandle
-
getId
Deprecated. -
get
Deprecated.- Specified by:
get
in interfaceExportHibernateHandle
-
equals
Deprecated. -
hashCode
public int hashCode()Deprecated. -
toString
Deprecated.Description copied from interface:Handle
ThetoString()
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
-