E
- is the generic type of the PersistenceEntity
.public interface MasterDataDao<E extends net.sf.mmm.util.entity.api.PersistenceEntity<Long>> extends Dao<E>
Dao
responsible for a PersistenceEntity
that represents master-data. In
that case you typically have a limited number of entities in your persistent store and need operations like
findAll()
.GenericDao
or Dao
as invoking them (accidently) could cause that an
extraordinary large number of entities are loaded into main memory and could cause serious performance and stability
disasters. So only extend this interface in case you are aware of what you are doing.Copyright © 2014–2016 OASP-Team. All rights reserved.