ch.elca.el4j.services.persistence.jpa.dao
Class ConvenienceJpaDaoSupport
java.lang.Object
org.springframework.dao.support.DaoSupport
org.springframework.orm.jpa.support.JpaDaoSupport
ch.elca.el4j.services.persistence.jpa.dao.ConvenienceJpaDaoSupport
- All Implemented Interfaces:
- InitializingBean
- Direct Known Subclasses:
- GenericJpaDao
public class ConvenienceJpaDaoSupport
- extends JpaDaoSupport
Convenience JPA dao support class to be able to return the convenience
JPA template without casting it.
- Author:
- Simon Stelling (SST)
- File-location:
- ConvenienceJpaDaoSupport
- Last check-in date:
- 2010-12-21 11:08:04 +0100 (Di, 21. Dez 2010) by swismer for revision 4253
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConvenienceJpaDaoSupport
public ConvenienceJpaDaoSupport()
getConvenienceJpaTemplate
public ConvenienceJpaTemplate getConvenienceJpaTemplate()
- Returns:
- Returns the Hibernate template casted to the convenience model of
it.
setConvenienceJpaTemplate
public void setConvenienceJpaTemplate(ConvenienceJpaTemplate template)
- Parameters:
template
- Is the convenience Hibernate template to set.
createJpaTemplate
protected JpaTemplate createJpaTemplate(javax.persistence.EntityManagerFactory emf)
-
- Overrides:
createJpaTemplate
in class JpaDaoSupport
Copyright © 2005-2011 ELCA. All Rights Reserved.