
public class HibernateDAO extends HqlDAO
HqlDAO.AbstractQuery, HqlDAO.AbstractSession| Modifier and Type | Field and Description |
|---|---|
protected org.hibernate.SessionFactory |
sessionFactory |
| Constructor and Description |
|---|
HibernateDAO() |
HibernateDAO(String resource) |
| Modifier and Type | Method and Description |
|---|---|
void |
begin()
starts a transaction
|
void |
close()
claose all
|
List |
dumpTable(String table) |
void |
end()
end a transaction
|
void |
fail()
failure: must close transaction
|
void |
fail(Throwable th)
same as fail but a Throwable can be used to log.
|
protected org.hibernate.Session |
getCurrentSession() |
org.hibernate.SessionFactory |
getSessionFactory() |
protected void |
initSession(String resource) |
protected org.hibernate.Session |
openSession() |
deleteActiveConfigProfile, deleteActiveSubsystemDescription, getActiveConfigProfile, getActiveProfilesForSubsystem, getActiveSubsystemDescription, getActiveSubsystemDescription, getGhostDescription, getMachineConfiguration, getPreparedConfiguration, getProfilesForSubsystem, getSession, modifyParmConfig, saveConfigProfile, saveGhostDescriptions, saveMachineConfiguration, savePastProfile, savePreparedConfiguration, saveRun, saveSubsystemDescription, setSession, simpleHQLRequestpublic HibernateDAO()
public HibernateDAO(String resource)
protected void initSession(String resource)
public org.hibernate.SessionFactory getSessionFactory()
public void begin()
DBInterfacepublic void end()
DBInterfacepublic void fail()
DBInterfacepublic void fail(Throwable th)
DBInterfacepublic void close()
DBInterfaceprotected org.hibernate.Session getCurrentSession()
protected org.hibernate.Session openSession()
Copyright © 2015 LSST. All rights reserved.