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, setSessionFactory
public void save(T entityObject) throws org.springframework.dao.DataAccessException
HibernateDao
save
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
HibernateDao
update
in class HibernateDao<T extends EntityObject>
entityObject
- The object to update.org.springframework.dao.DataAccessException
- A persistence exception has occurred.Copyright © 2021 Atlassian. All rights reserved.