Class Hibernate
- java.lang.Object
-
- com.atlassian.confluence.impl.hibernate.Hibernate
-
public final class Hibernate extends Object
- Since:
- 8.7
-
-
Constructor Summary
Constructors Constructor Description Hibernate()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Class<?>
getClass(Object obj)
A wrapper aroundHibernate.getClass(Object)
which first checks to see ifHibernate
is present, then invoking the method if so, else just returning the class of the argument.
-
-
-
Method Detail
-
getClass
public static Class<?> getClass(Object obj)
A wrapper aroundHibernate.getClass(Object)
which first checks to see ifHibernate
is present, then invoking the method if so, else just returning the class of the argument.THis is useful in cases where our Hibernate entity classes use this method in their
Object.equals(Object)
implementations, but we don't want to enforce the presense of Hibernate on the classpath to use it.
-
-