E
- The Entity type.public interface EntityManagerDelegate<E>
EntityManager
methods not present on repository base interfaces.
Calls the corresponding method on the repository EntityManager.Modifier and Type | Method and Description |
---|---|
void |
clear()
See
EntityManager.clear() . |
void |
close()
See
EntityManager.close() . |
boolean |
contains(E entity)
See
EntityManager.contains(Object) . |
void |
detach(E entity)
See
EntityManager.detach(Object) . |
E |
find(Object primaryKey,
javax.persistence.LockModeType lockMode)
See
EntityManager.find(Class, Object, LockModeType) . |
E |
find(Object primaryKey,
javax.persistence.LockModeType lockMode,
Map<String,Object> properties)
See
EntityManager.find(Class, Object, LockModeType, Map) . |
E |
find(Object primaryKey,
Map<String,Object> properties)
See
EntityManager.find(Class, Object, java.util.Map) . |
javax.persistence.criteria.CriteriaBuilder |
getCriteriaBuilder()
See
EntityManager.getCriteriaBuilder() . |
Object |
getDelegate()
See
EntityManager.getDelegate() . |
javax.persistence.EntityManagerFactory |
getEntityManagerFactory()
See
EntityManager.getEntityManagerFactory() . |
javax.persistence.FlushModeType |
getFlushMode()
See
EntityManager.getFlushMode() . |
javax.persistence.LockModeType |
getLockMode(E entity)
See
EntityManager.getLockMode(Object) . |
javax.persistence.metamodel.Metamodel |
getMetamodel()
See
EntityManager.getMetamodel() . |
Map<String,Object> |
getProperties()
See
EntityManager.getProperties() . |
E |
getReference(Object primaryKey)
See
EntityManager.getReference(Class, Object) . |
javax.persistence.EntityTransaction |
getTransaction()
See
EntityManager.getTransaction() . |
boolean |
isOpen()
See
EntityManager.isOpen() . |
void |
joinTransaction()
See
EntityManager.joinTransaction() . |
void |
lock(Object entity,
javax.persistence.LockModeType lockMode)
See
EntityManager.lock(Object, LockModeType) . |
void |
lock(Object entity,
javax.persistence.LockModeType lockMode,
Map<String,Object> properties)
See
EntityManager.lock(Object, LockModeType, Map) . |
E |
merge(E entity)
See
EntityManager.merge(Object) . |
void |
persist(E entity)
See
EntityManager.persist(Object) . |
void |
refresh(E entity,
javax.persistence.LockModeType lockMode)
See
EntityManager.refresh(Object, LockModeType) . |
void |
refresh(E entity,
javax.persistence.LockModeType lockMode,
Map<String,Object> properties)
See
EntityManager.refresh(Object, LockModeType, Map) . |
void |
refresh(E entity,
Map<String,Object> properties)
See
EntityManager.refresh(Object, Map) . |
void |
setFlushMode(javax.persistence.FlushModeType flushMode)
See
EntityManager.setFlushMode(FlushModeType) . |
void |
setProperty(String propertyName,
Object value)
See
EntityManager.setProperty(String, Object) . |
<T> T |
unwrap(Class<T> cls)
See
EntityManager.unwrap(Class) . |
void persist(E entity)
EntityManager.persist(Object)
.E find(Object primaryKey, Map<String,Object> properties)
EntityManager.find(Class, Object, java.util.Map)
.E find(Object primaryKey, javax.persistence.LockModeType lockMode)
EntityManager.find(Class, Object, LockModeType)
.E find(Object primaryKey, javax.persistence.LockModeType lockMode, Map<String,Object> properties)
EntityManager.find(Class, Object, LockModeType, Map)
.void setFlushMode(javax.persistence.FlushModeType flushMode)
EntityManager.setFlushMode(FlushModeType)
.javax.persistence.FlushModeType getFlushMode()
EntityManager.getFlushMode()
.void lock(Object entity, javax.persistence.LockModeType lockMode)
EntityManager.lock(Object, LockModeType)
.void lock(Object entity, javax.persistence.LockModeType lockMode, Map<String,Object> properties)
EntityManager.lock(Object, LockModeType, Map)
.void refresh(E entity, Map<String,Object> properties)
EntityManager.refresh(Object, Map)
.void refresh(E entity, javax.persistence.LockModeType lockMode)
EntityManager.refresh(Object, LockModeType)
.void refresh(E entity, javax.persistence.LockModeType lockMode, Map<String,Object> properties)
EntityManager.refresh(Object, LockModeType, Map)
.void clear()
EntityManager.clear()
.void detach(E entity)
EntityManager.detach(Object)
.boolean contains(E entity)
EntityManager.contains(Object)
.javax.persistence.LockModeType getLockMode(E entity)
EntityManager.getLockMode(Object)
.void setProperty(String propertyName, Object value)
EntityManager.setProperty(String, Object)
.void joinTransaction()
EntityManager.joinTransaction()
.<T> T unwrap(Class<T> cls)
EntityManager.unwrap(Class)
.Object getDelegate()
EntityManager.getDelegate()
.void close()
EntityManager.close()
.boolean isOpen()
EntityManager.isOpen()
.javax.persistence.EntityTransaction getTransaction()
EntityManager.getTransaction()
.javax.persistence.EntityManagerFactory getEntityManagerFactory()
EntityManager.getEntityManagerFactory()
.javax.persistence.criteria.CriteriaBuilder getCriteriaBuilder()
EntityManager.getCriteriaBuilder()
.javax.persistence.metamodel.Metamodel getMetamodel()
EntityManager.getMetamodel()
.Copyright © 2014 The Apache Software Foundation. All rights reserved.