|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.hibernate.Hibernate
public final class Hibernate
Clob
,
Blob
,
Type
Method Summary | |
---|---|
static void |
close(Iterator iterator)
Close an Iterator created by iterate() immediately, instead of waiting until the session is closed or disconnected. |
static Class |
getClass(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(Object proxy)
Force initialization of a proxy or persistent collection. |
static boolean |
isInitialized(Object proxy)
Check if the proxy or persistent collection is initialized. |
static boolean |
isPropertyInitialized(Object proxy,
String propertyName)
Check if the property is initialized. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void initialize(Object proxy) throws HibernateException
proxy
- a persistable object, proxy, persistent collection or null
HibernateException
- if we can't initialize the proxy at this time, eg. the Session was closedpublic static boolean isInitialized(Object proxy)
proxy
- a persistable object, proxy, persistent collection or null
public static Class getClass(Object proxy)
proxy
- a persistable object or proxy
HibernateException
public static LobCreator getLobCreator(Session session)
public static LobCreator getLobCreator(SessionImplementor session)
public static void close(Iterator iterator) throws HibernateException
iterator
- an Iterator created by iterate()
HibernateException
Query.iterate()
,
Query.iterate()
public static boolean isPropertyInitialized(Object proxy, String propertyName)
proxy
- The potential proxypropertyName
- the name of a persistent attribute of the object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |