edu.internet2.middleware.grouper.hibernate
Class HibernateMisc
java.lang.Object
edu.internet2.middleware.grouper.hibernate.HibernateMisc
public class HibernateMisc
- extends java.lang.Object
- Version:
- $Id: HibernateMisc.java,v 1.2 2008-06-21 04:16:13 mchyzer Exp $
- Author:
- mchyzer
Method Summary |
void |
flush()
Flush the underlying hibernate session (sync the object model with the DB). |
boolean |
isIgnoreHooks()
if we should ignore hooks |
static void |
main(java.lang.String[] args)
|
edu.internet2.middleware.grouper.hibernate.ByQueryBase |
setIgnoreHooks(boolean theIgnoreHooks)
if we should ignore hooks |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HibernateMisc
public HibernateMisc(HibernateSession theHibernateSession)
- Parameters:
theHibernateSession
-
flush
public void flush()
- Flush the underlying hibernate session (sync the object model with the DB).
This doesnt commit or anything, it just sends the bySql across
setIgnoreHooks
public edu.internet2.middleware.grouper.hibernate.ByQueryBase setIgnoreHooks(boolean theIgnoreHooks)
- if we should ignore hooks
- Parameters:
theIgnoreHooks
-
- Returns:
- if we should ignore hooks
isIgnoreHooks
public boolean isIgnoreHooks()
- if we should ignore hooks
- Returns:
- if we should ignore hooks
main
public static void main(java.lang.String[] args)
- Parameters:
args
-