public class HibernateMisc extends Object
| Constructor and Description |
|---|
HibernateMisc(HibernateSession theHibernateSession) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
copyFieldsTo(edu.internet2.middleware.grouper.hibernate.ByQueryBase byQueryBase)
copy fields from this to the argument
|
void |
flush()
Flush the underlying hibernate session (sync the object model with the DB).
|
protected HibernateSession |
getHibernateSession() |
boolean |
isIgnoreHooks()
if we should ignore hooks
|
static void |
main(String[] args) |
protected edu.internet2.middleware.grouper.hibernate.ByQueryBase |
set(HibernateSession theHibernateSession2)
set the hibernate session to re-use, or null for a new one
byCriteriaStatic().set(hibernateSession2).select(...)
|
edu.internet2.middleware.grouper.hibernate.ByQueryBase |
setIgnoreHooks(boolean theIgnoreHooks)
if we should ignore hooks
|
public HibernateMisc(HibernateSession theHibernateSession)
theHibernateSession - public void flush()
public edu.internet2.middleware.grouper.hibernate.ByQueryBase setIgnoreHooks(boolean theIgnoreHooks)
theIgnoreHooks - public boolean isIgnoreHooks()
protected void copyFieldsTo(edu.internet2.middleware.grouper.hibernate.ByQueryBase byQueryBase)
byQueryBase - protected HibernateSession getHibernateSession()
protected edu.internet2.middleware.grouper.hibernate.ByQueryBase set(HibernateSession theHibernateSession2)
theHibernateSession2 - is the session to reusepublic static void main(String[] args)
args - Copyright © 2016 Internet2. All rights reserved.