public class AttributeDAOHibernate extends EntityObjectDAOHibernate<Attribute> implements AttributeDAO
logger
Constructor and Description |
---|
AttributeDAOHibernate() |
Modifier and Type | Method and Description |
---|---|
Class<Attribute> |
getPersistentClass()
All subclasses of HibernateDAO must implement this method for
HibernateDao.load(long) to
work correctly |
void |
save(Attribute attribute)
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 Class<Attribute> getPersistentClass()
HibernateDao
HibernateDao.load(long)
to
work correctlygetPersistentClass
in class HibernateDao<Attribute>
public void save(Attribute attribute) throws org.springframework.dao.DataAccessException
HibernateDao
save
in interface AttributeDAO
save
in class EntityObjectDAOHibernate<Attribute>
attribute
- The object to save.org.springframework.dao.DataAccessException
- A persistence exception has occurred.Copyright © 2021 Atlassian. All rights reserved.