edu.internet2.middleware.grouper.hibernate
Class HibernateMisc

java.lang.Object
  extended by edu.internet2.middleware.grouper.hibernate.HibernateMisc

public class HibernateMisc
extends Object

Version:
$Id: HibernateMisc.java,v 1.2 2008-06-21 04:16:13 mchyzer Exp $
Author:
mchyzer

Constructor Summary
HibernateMisc(HibernateSession theHibernateSession)
           
 
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(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
 

Constructor Detail

HibernateMisc

public HibernateMisc(HibernateSession theHibernateSession)
Parameters:
theHibernateSession -
Method Detail

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(String[] args)
Parameters:
args -