public final class Hibernate
extends java.lang.Object
Clob,
Blob,
Type| Modifier and Type | Method and Description |
|---|---|
static void |
close(java.util.Iterator iterator)
Close an Iterator created by iterate() immediately,
instead of waiting until the session is closed or disconnected.
|
static java.lang.Class |
getClass(java.lang.Object proxy)
Get the true, underlying class of a proxied persistent class.
|
static LobCreator |
getLobCreator(Session session) |
static LobCreator |
getLobCreator(SessionImplementor session) |
static void |
initialize(java.lang.Object proxy)
Force initialization of a proxy or persistent collection.
|
static boolean |
isInitialized(java.lang.Object proxy)
Check if the proxy or persistent collection is initialized.
|
static boolean |
isPropertyInitialized(java.lang.Object proxy,
java.lang.String propertyName)
Check if the property is initialized.
|
public static void initialize(java.lang.Object proxy)
throws HibernateException
proxy - a persistable object, proxy, persistent collection or nullHibernateException - if we can't initialize the proxy at this time, eg. the Session was closedpublic static boolean isInitialized(java.lang.Object proxy)
proxy - a persistable object, proxy, persistent collection or nullpublic static java.lang.Class getClass(java.lang.Object proxy)
proxy - a persistable object or proxyHibernateExceptionpublic static LobCreator getLobCreator(Session session)
public static LobCreator getLobCreator(SessionImplementor session)
public static void close(java.util.Iterator iterator)
throws HibernateException
iterator - an Iterator created by iterate()HibernateExceptionQuery.iterate(),
Query.iterate()public static boolean isPropertyInitialized(java.lang.Object proxy,
java.lang.String propertyName)
proxy - The potential proxypropertyName - the name of a persistent attribute of the objectCopyright © 2001-2013 Red Hat, Inc. All Rights Reserved.