org.perfectjpattern.jee.integration.dao.jpa
Class MovieBaseDao
java.lang.Object
org.perfectjpattern.jee.integration.dao.JpaBaseDao<Id,Element>
org.perfectjpattern.jee.integration.dao.AbstractJpaManagedBaseDao<Long,Movie>
org.perfectjpattern.jee.integration.dao.jpa.MovieBaseDao
- All Implemented Interfaces:
- IBaseDao<Long,Movie>, IBaseReadOnlyDao<Long,Movie>, IMovieBaseDao
public class MovieBaseDao
- extends AbstractJpaManagedBaseDao<Long,Movie>
- implements IMovieBaseDao
EJB implementation of IMovieBaseDao
. Exposes managed
EJB reusing all of the PerfectJPattern's IBaseDao
facilities
- Version:
- $Revision: 1.0 $Date: Feb 11, 2009 11:31:24 AM $
- Author:
- Giovanni Azua
-
-
Methods inherited from class org.perfectjpattern.jee.integration.dao.JpaBaseDao |
contains, count, create, delete, deleteAll, findAll, findById, getPersistentClass, getSession, getSessionStrategy, getTransaction, getTransactionStrategy, update |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MovieBaseDao
public MovieBaseDao()
setEntityManager
public void setEntityManager(javax.persistence.EntityManager anEntityManager)
- Description copied from class:
JpaBaseDao
- Sets the
EntityManager
, called from a managed EJB that exposes
IGenericReadOnlyDao
or IGenericDao
remotely.
- Overrides:
setEntityManager
in class JpaBaseDao<Long,Movie>
- Parameters:
anEntityManager
- The EntityManager
to set
Copyright © 2007-2009. All Rights Reserved.