public interface QueryInvocationContext
| Modifier and Type | Method and Description |
|---|---|
Class<?> |
getEntityClass()
The class of the Entity related to the invoked Repository.
|
javax.persistence.EntityManager |
getEntityManager()
Entity Manager used for the query.
|
boolean |
isNew(Object entity)
Given the object parameter is an entity, checks if the entity is
persisted or not.
|
javax.persistence.EntityManager getEntityManager()
Class<?> getEntityClass()
boolean isNew(Object entity)
entity - Entity object, non nullable.Copyright © 2011-2013 The Apache Software Foundation. All Rights Reserved.