
public class HibernateDAO extends HqlDAO
HqlDAO.AbstractQuery, HqlDAO.AbstractSession| Modifier and Type | Field and Description |
|---|---|
protected SessionFactory |
sessionFactory |
| Constructor and Description |
|---|
HibernateDAO() |
HibernateDAO(SessionFactory fac) |
| 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 Session |
getCurrentSession() |
SessionFactory |
getSessionFactory() |
protected Session |
openSession() |
deleteActiveConfigProfile, deleteActiveSubsystemDescription, getActiveConfigProfile, getActiveProfilesForSubsystem, getActiveSubsystemDescription, getActiveSubsystemDescription, getGhostDescription, getProfilesForSubsystem, getSession, modifyParmConfig, saveConfigProfile, saveGhostDescriptions, savePastProfile, saveRun, saveSubsystemDescription, setSession, simpleHQLRequestprotected SessionFactory sessionFactory
public HibernateDAO()
public HibernateDAO(SessionFactory fac)
public SessionFactory getSessionFactory()
public void begin()
DBInterfacepublic void end()
DBInterfacepublic void fail()
DBInterfacepublic void fail(Throwable th)
DBInterfacepublic void close()
DBInterfaceprotected Session getCurrentSession()
protected final Session openSession()
Copyright © 2016 LSST. All rights reserved.