public class RepositoryTransactionPoolImplementation extends Object implements RepositoryTransactionPool, org.springframework.context.ApplicationContextAware
| Modifier and Type | Field and Description |
|---|---|
protected javax.persistence.EntityManager |
entityManager |
| Constructor and Description |
|---|
RepositoryTransactionPoolImplementation() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAfterFunctionHook(BiConsumer<SessionTemplate,Object> function)
Deprecated.
|
<T> void |
asyncDelete(T entity) |
<T> void |
asyncMerge(T entity) |
<T> void |
asyncPersist(T entity) |
<T> void |
asyncRefresh(T entity) |
<T> void |
asyncSave(T entity) |
<T> void |
asyncSaveOrUpdate(T entity) |
org.hibernate.envers.AuditReader |
getAuditReader() |
javax.persistence.EntityManager |
getEntityManager() |
String |
getIdentifierPropertyName(Class<?> cls) |
org.hibernate.Session |
getSession() |
SessionTemplate |
getSessionTemplate() |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
public RepositoryTransactionPoolImplementation()
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionApplicationContextAware.setApplicationContext(org.springframework.context.ApplicationContext)public javax.persistence.EntityManager getEntityManager()
getEntityManager in interface RepositoryTransactionPoolRepositoryTransactionPool.getEntityManager()public org.hibernate.Session getSession()
getSession in interface RepositoryTransactionPoolRepositoryTransactionPool.getSession()@Transactional public String getIdentifierPropertyName(Class<?> cls)
getIdentifierPropertyName in interface RepositoryTransactionPoolRepositoryTransactionPool.getIdentifierPropertyName(java.lang.Class)public org.hibernate.envers.AuditReader getAuditReader()
getAuditReader in interface RepositoryTransactionPoolRepositoryTransactionPool.getAuditReader()public <T> void asyncPersist(T entity)
asyncPersist in interface RepositoryTransactionPoolRepositoryTransactionPool.asyncPersist(java.lang.Object)public <T> void asyncRefresh(T entity)
asyncRefresh in interface RepositoryTransactionPoolRepositoryTransactionPool.asyncRefresh(java.lang.Object)public <T> void asyncMerge(T entity)
asyncMerge in interface RepositoryTransactionPoolRepositoryTransactionPool.asyncMerge(java.lang.Object)public <T> void asyncSave(T entity)
asyncSave in interface RepositoryTransactionPoolRepositoryTransactionPool.asyncSave(java.lang.Object)public <T> void asyncSaveOrUpdate(T entity)
asyncSaveOrUpdate in interface RepositoryTransactionPoolRepositoryTransactionPool.asyncSaveOrUpdate(java.lang.Object)public <T> void asyncDelete(T entity)
asyncDelete in interface RepositoryTransactionPoolRepositoryTransactionPool.asyncDelete(java.lang.Object)public SessionTemplate getSessionTemplate()
getSessionTemplate in interface RepositoryTransactionPoolRepositoryTransactionPool.getSessionTemplate()@Deprecated public void addAfterFunctionHook(BiConsumer<SessionTemplate,Object> function)
addAfterFunctionHook in interface RepositoryTransactionPoolRepositoryTransactionPool.addAfterFunctionHook(java.util.function.BiConsumer)Copyright © 2014–2015. All rights reserved.