@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, setLockMode
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public JpaMigrationDao()
public JpaMigrationDao(javax.persistence.EntityManager em)
em
- protected javax.persistence.EntityManager getEntityManager()
public List<Migration> findAll()
MigrationDao
findAll
in interface MigrationDao
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.