org.directdemocracyportal.democracy.service.dao.hibernate
Class HibernateRegionDAO
java.lang.Object
org.springframework.dao.support.DaoSupport
org.springframework.orm.hibernate3.support.HibernateDaoSupport
org.directdemocracyportal.democracy.service.dao.hibernate.GenericHibernateDAO<Region,java.lang.Long>
org.directdemocracyportal.democracy.service.dao.hibernate.HibernateRegionDAO
- All Implemented Interfaces:
- GenericDAO<Region,java.lang.Long>, RegionDAO, org.springframework.beans.factory.InitializingBean
@Transactional(propagation=MANDATORY)
public class HibernateRegionDAO
extends GenericHibernateDAO<Region,java.lang.Long>
implements RegionDAO
The Class HibernateRegionDAO.
Fields inherited from class org.springframework.dao.support.DaoSupport |
logger |
Methods inherited from class org.springframework.orm.hibernate3.support.HibernateDaoSupport |
checkDaoConfig, convertHibernateAccessException, createHibernateTemplate, getHibernateTemplate, getSession, getSession, getSessionFactory, releaseSession, setHibernateTemplate, setSessionFactory |
Methods inherited from class org.springframework.dao.support.DaoSupport |
afterPropertiesSet, initDao |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HibernateRegionDAO
public HibernateRegionDAO()
- Instantiates a new hibernate region dao.
findByName
@Transactional(readOnly=true)
public Region findByName(java.lang.String name)
throws org.springframework.dao.DataAccessException
- Description copied from interface:
RegionDAO
- Find by name.
- Specified by:
findByName
in interface RegionDAO
- Parameters:
name
- the name
- Returns:
- the region
- Throws:
org.springframework.dao.DataAccessException
- the data access exception
Copyright © 2004-2010 www.DirectDemocracyPortal.org. All Rights Reserved.