public class ProfileDAOHibernate extends EntityObjectDAOHibernate<Profile> implements ProfileDAO
logger
Constructor and Description |
---|
ProfileDAOHibernate() |
Modifier and Type | Method and Description |
---|---|
protected Class<Profile> |
getPersistentClass()
All subclasses of HibernateDAO must implement this method for
HibernateDao.load(long) to
work correctly |
void |
save(Profile profile)
Saves a new DAO object to the persistence store.
|
update
currentSession, load, remove, setSessionFactory
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
load, remove, update
public void save(Profile profile) throws org.springframework.dao.DataAccessException
HibernateDao
save
in interface ProfileDAO
save
in class EntityObjectDAOHibernate<Profile>
profile
- The object to save.org.springframework.dao.DataAccessException
- A persistence exception has occurred.protected Class<Profile> getPersistentClass()
HibernateDao
HibernateDao.load(long)
to
work correctlygetPersistentClass
in class HibernateDao<Profile>
Copyright © 2021 Atlassian. All rights reserved.