mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-17 00:24:57 +00:00
HHH-13857 Improve javadoc
Co-authored-by: Steve Ebersole <steve@hibernate.org>
This commit is contained in:
parent
ed472eff8a
commit
b6a1aefa6f
@ -260,8 +260,12 @@ public static <T> Class<? extends T> getClass(T proxy) {
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the true, underlying class of a proxied entity. This operation might
|
||||
* initialize a proxy by side effect.
|
||||
* Get the true, underlying class of a proxied entity.
|
||||
* <p/>
|
||||
* Like {@link #getClass}, this operation might initialize a proxy by side effect.
|
||||
* However, here the initialization is avoided if possible. If the entity type is
|
||||
* defined with subclasses, the proxy will need to be initialized to properly
|
||||
* determine the class.
|
||||
*
|
||||
* @param proxy an entity instance or proxy
|
||||
* @return the true class of the instance
|
||||
|
Loading…
x
Reference in New Issue
Block a user