Package io.jmix.eclipselink.impl
Class JmixEclipselinkTransactionManager
java.lang.Object
org.springframework.transaction.support.AbstractPlatformTransactionManager
org.springframework.orm.jpa.JpaTransactionManager
io.jmix.data.impl.JmixTransactionManager
io.jmix.eclipselink.impl.JmixEclipselinkTransactionManager
- All Implemented Interfaces:
Serializable,org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanFactoryAware,org.springframework.beans.factory.InitializingBean,org.springframework.context.ApplicationContextAware,org.springframework.transaction.ConfigurableTransactionManager,org.springframework.transaction.PlatformTransactionManager,org.springframework.transaction.support.ResourceTransactionManager,org.springframework.transaction.TransactionManager
- See Also:
-
Field Summary
Fields inherited from class io.jmix.data.impl.JmixTransactionManager
applicationContext, key, keyPattern, storeNameFields inherited from class org.springframework.transaction.support.AbstractPlatformTransactionManager
logger, SYNCHRONIZATION_ALWAYS, SYNCHRONIZATION_NEVER, SYNCHRONIZATION_ON_ACTUAL_TRANSACTION -
Constructor Summary
ConstructorsConstructorDescriptionJmixEclipselinkTransactionManager(String storeName, jakarta.persistence.EntityManagerFactory entityManagerFactory) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidvoidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext) Methods inherited from class io.jmix.data.impl.JmixTransactionManager
doCommit, doRollback, getKeyMethods inherited from class org.springframework.orm.jpa.JpaTransactionManager
afterPropertiesSet, closeEntityManagerAfterFailedBegin, createEntityManagerForTransaction, doCleanupAfterCompletion, doGetTransaction, doResume, doSetRollbackOnly, doSuspend, getDataSource, getEntityManagerFactory, getJpaDialect, getJpaPropertyMap, getPersistenceUnitName, getResourceFactory, isExistingTransaction, obtainEntityManagerFactory, setBeanFactory, setDataSource, setEntityManagerFactory, setEntityManagerInitializer, setJpaDialect, setJpaProperties, setJpaPropertyMap, setPersistenceUnitName, shouldCommitOnGlobalRollbackOnlyMethods inherited from class org.springframework.transaction.support.AbstractPlatformTransactionManager
commit, determineTimeout, getDefaultTimeout, getTransaction, getTransactionExecutionListeners, getTransactionSynchronization, invokeAfterCompletion, isFailEarlyOnGlobalRollbackOnly, isGlobalRollbackOnParticipationFailure, isNestedTransactionAllowed, isRollbackOnCommitFailure, isValidateExistingTransaction, prepareForCommit, prepareSynchronization, registerAfterCompletionWithExistingTransaction, resume, rollback, setDefaultTimeout, setFailEarlyOnGlobalRollbackOnly, setGlobalRollbackOnParticipationFailure, setNestedTransactionAllowed, setRollbackOnCommitFailure, setTransactionExecutionListeners, setTransactionSynchronization, setTransactionSynchronizationName, setValidateExistingTransaction, suspend, triggerBeforeCommit, triggerBeforeCompletion, useSavepointForNestedTransactionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.transaction.ConfigurableTransactionManager
addListenerMethods inherited from interface org.springframework.transaction.PlatformTransactionManager
commit, getTransaction, rollback
-
Constructor Details
-
JmixEclipselinkTransactionManager
public JmixEclipselinkTransactionManager(String storeName, jakarta.persistence.EntityManagerFactory entityManagerFactory)
-
-
Method Details
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException - Specified by:
setApplicationContextin interfaceorg.springframework.context.ApplicationContextAware- Overrides:
setApplicationContextin classJmixTransactionManager- Throws:
org.springframework.beans.BeansException
-
doBegin
protected void doBegin(Object transaction, org.springframework.transaction.TransactionDefinition definition) - Overrides:
doBeginin classorg.springframework.orm.jpa.JpaTransactionManager
-