@PermitAll public class JpaMigrationDao extends com.whitestein.lsps.common.jpa.AbstractJpaBasicDao<Migration,Long> implements MigrationDao
| Constructor and Description |
|---|
JpaMigrationDao()
Creates new instance.
|
JpaMigrationDao(javax.persistence.EntityManager em)
Creates new instance.
|
| Modifier and Type | Method and Description |
|---|---|
List<Migration> |
findAll()
Returns a list of all migrations ordered by their start date.
|
protected javax.persistence.EntityManager |
getEntityManager() |
clear, contains, findById, findById, findByIds, flush, getColName, getEntityClass, getEntityName, getReferenceById, merge, persist, refresh, refresh, remove, setEntityClass, setLockModeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic JpaMigrationDao()
public JpaMigrationDao(javax.persistence.EntityManager em)
em - protected javax.persistence.EntityManager getEntityManager()
public List<Migration> findAll()
MigrationDaofindAll in interface MigrationDaoCopyright © 2007-2020 Whitestein Technologies. All Rights Reserved.