public abstract class EntityObjectDAOHibernate<T extends EntityObject> extends HibernateDao<T>
logger| Constructor and Description |
|---|
EntityObjectDAOHibernate() |
| Modifier and Type | Method and Description |
|---|---|
void |
save(T entityObject)
Saves a new DAO object to the persistence store.
|
void |
update(T entityObject)
Updates an existing DAO object, if the object does not exist it will be added to the persistence store.
|
currentSession, getPersistentClass, load, remove, setSessionFactorypublic void save(T entityObject) throws org.springframework.dao.DataAccessException
HibernateDaosave in class HibernateDao<T extends EntityObject>entityObject - The object to save.org.springframework.dao.DataAccessException - A persistence exception has occurred.public void update(T entityObject) throws org.springframework.dao.DataAccessException
HibernateDaoupdate in class HibernateDao<T extends EntityObject>entityObject - The object to update.org.springframework.dao.DataAccessException - A persistence exception has occurred.Copyright © 2018 Atlassian. All rights reserved.