org.lsst.ccs.config.dao.hibernate
Class HibernateDAO
java.lang.Object
org.lsst.ccs.config.HqlDAO
org.lsst.ccs.config.dao.hibernate.HibernateDAO
- All Implemented Interfaces:
- DBInterface
public class HibernateDAO
- extends HqlDAO
- Author:
- bamade
| Methods inherited from class org.lsst.ccs.config.HqlDAO |
deleteActiveConfigProfile, deleteActiveSubsystemDescription, getActiveConfigProfile, getActiveProfilesForSubsystem, getActiveSubsystemDescription, getActiveSubsystemDescription, getGhostDescription, getMachineConfiguration, getPreparedConfiguration, getProfilesForSubsystem, getSession, modifyParmConfig, saveConfigProfile, saveGhostDescriptions, saveMachineConfiguration, savePastProfile, savePreparedConfiguration, saveRun, saveSubsystemDescription, setSession, simpleHQLRequest |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
sessionFactory
protected org.hibernate.SessionFactory sessionFactory
HibernateDAO
public HibernateDAO()
initSession
protected void initSession()
getSessionFactory
public org.hibernate.SessionFactory getSessionFactory()
begin
public void begin()
- Description copied from interface:
DBInterface
- starts a transaction
end
public void end()
- Description copied from interface:
DBInterface
- end a transaction
fail
public void fail()
- Description copied from interface:
DBInterface
- failure: must close transaction
fail
public void fail(Throwable th)
- Description copied from interface:
DBInterface
- same as fail but a Throwable can be used to log.
close
public void close()
- Description copied from interface:
DBInterface
- claose all
getCurrentSession
protected org.hibernate.Session getCurrentSession()
openSession
protected org.hibernate.Session openSession()
Copyright © 2013 LSST. All Rights Reserved.