public interface EntityFinder
Modifier and Type | Method and Description |
---|---|
Object |
find(Long id,
Class<?> entityClass)
Returns the entity on the basis of the entity class and its ID.
|
Object find(Long id, Class<?> entityClass) throws javax.persistence.EntityNotFoundException
entityClass
- the class of the entityid
- the ID of the entityjavax.persistence.EntityNotFoundException
- if the repository or the entity
could not be foundCopyright © 2015–2017 42 BV. All rights reserved.