Spring Framwork Testing v5.3.36 SNAPSHOT
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 @Commit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106 Transaction Rollback and Commit Behavior . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109 transaction to commit (unusual, but occasionally useful when you want a particular test to populate or modify the database), you can tell the TestContext framework to cause the transaction to commit instead0 码力 | 193 页 | 2.53 MB | 1 年前3Spring Framework 1.2.x Changelog
AbstractPlatformTransactionManager marks an existing transaction as rollback-only even in case of a commit exception * AbstractPlatformTransactionManager properly resumes all synchronizations even after message at debug level (not warn) * TransactionInterceptor logs application exception at error level if commit throws an exception Package org.springframework.util * fixed CollectionsUtils's "hasUniqueObject" TransactionAwarePersistenceManagerFactoryProxy, allowing to enforce transactional PMs * added "FLUSH_COMMIT" support to HibernateTemplate/Interceptor for H2.1/H3, and "FLUSH_ALWAYS" support for H3 * Hibe0 码力 | 94 页 | 267.57 KB | 1 年前3Spring Framework 1.2.3 Changelog
TransactionAwarePersistenceManagerFactoryProxy, allowing to enforce transactional PMs * added "FLUSH_COMMIT" support to HibernateTemplate/Interceptor for H2.1/H3, and "FLUSH_ALWAYS" support for H3 * Hibe JtaTransactionManager throws UnexpectedRollbackException in case of global rollback-only if not thrown by JTA commit Package org.springframework.util * added "loadFromXml" and "storeToXml" methods to PropertiesPersister default "false" * AbstractPlatformTransactionManager throws UnexpectedRollbackException if attempting commit with rollback-only tx * JtaTransactionManager expects "doCommit" call for global rollback-only tx0 码力 | 74 页 | 215.40 KB | 1 年前3Spring Framework 1.2.5 Changelog
TransactionAwarePersistenceManagerFactoryProxy, allowing to enforce transactional PMs * added "FLUSH_COMMIT" support to HibernateTemplate/Interceptor for H2.1/H3, and "FLUSH_ALWAYS" support for H3 * Hibe JtaTransactionManager throws UnexpectedRollbackException in case of global rollback-only if not thrown by JTA commit Package org.springframework.util * added "loadFromXml" and "storeToXml" methods to PropertiesPersister default "false" * AbstractPlatformTransactionManager throws UnexpectedRollbackException if attempting commit with rollback-only tx * JtaTransactionManager expects "doCommit" call for global rollback-only tx0 码力 | 79 页 | 226.37 KB | 1 年前3Spring Framework 1.2.4 Changelog
TransactionAwarePersistenceManagerFactoryProxy, allowing to enforce transactional PMs * added "FLUSH_COMMIT" support to HibernateTemplate/Interceptor for H2.1/H3, and "FLUSH_ALWAYS" support for H3 * Hibe JtaTransactionManager throws UnexpectedRollbackException in case of global rollback-only if not thrown by JTA commit Package org.springframework.util * added "loadFromXml" and "storeToXml" methods to PropertiesPersister default "false" * AbstractPlatformTransactionManager throws UnexpectedRollbackException if attempting commit with rollback-only tx * JtaTransactionManager expects "doCommit" call for global rollback-only tx0 码力 | 77 页 | 223.73 KB | 1 年前3Spring Framework 1.2.8 Changelog
message at debug level (not warn) * TransactionInterceptor logs application exception at error level if commit throws an exception Package org.springframework.util * fixed CollectionsUtils's "hasUniqueObject" TransactionAwarePersistenceManagerFactoryProxy, allowing to enforce transactional PMs * added "FLUSH_COMMIT" support to HibernateTemplate/Interceptor for H2.1/H3, and "FLUSH_ALWAYS" support for H3 * Hibe JtaTransactionManager throws UnexpectedRollbackException in case of global rollback-only if not thrown by JTA commit Package org.springframework.util * added "loadFromXml" and "storeToXml" methods to PropertiesPersister0 码力 | 89 页 | 254.65 KB | 1 年前3Spring Framework 1.2.2 Changelog
JtaTransactionManager throws UnexpectedRollbackException in case of global rollback-only if not thrown by JTA commit Package org.springframework.util * added "loadFromXml" and "storeToXml" methods to PropertiesPersister default "false" * AbstractPlatformTransactionManager throws UnexpectedRollbackException if attempting commit with rollback-only tx * JtaTransactionManager expects "doCommit" call for global rollback-only tx release calls * AbstractPlatformTransactionManager throws IllegalTransactionStateException on repeated commit/rollback attempts * AbstractPlatformTransactionManager's "isExistingTransaction" and "doSetRollbackOnly"0 码力 | 72 页 | 205.76 KB | 1 年前3Spring Framework 1.2.7 Changelog
TransactionAwarePersistenceManagerFactoryProxy, allowing to enforce transactional PMs * added "FLUSH_COMMIT" support to HibernateTemplate/Interceptor for H2.1/H3, and "FLUSH_ALWAYS" support for H3 * Hibe JtaTransactionManager throws UnexpectedRollbackException in case of global rollback-only if not thrown by JTA commit Package org.springframework.util * added "loadFromXml" and "storeToXml" methods to PropertiesPersister default "false" * AbstractPlatformTransactionManager throws UnexpectedRollbackException if attempting commit with rollback-only tx * JtaTransactionManager expects "doCommit" call for global rollback-only tx0 码力 | 87 页 | 248.22 KB | 1 年前3Spring Framework 1.2.6 Changelog
TransactionAwarePersistenceManagerFactoryProxy, allowing to enforce transactional PMs * added "FLUSH_COMMIT" support to HibernateTemplate/Interceptor for H2.1/H3, and "FLUSH_ALWAYS" support for H3 * Hibe JtaTransactionManager throws UnexpectedRollbackException in case of global rollback-only if not thrown by JTA commit Package org.springframework.util * added "loadFromXml" and "storeToXml" methods to PropertiesPersister default "false" * AbstractPlatformTransactionManager throws UnexpectedRollbackException if attempting commit with rollback-only tx * JtaTransactionManager expects "doCommit" call for global rollback-only tx0 码力 | 83 页 | 236.45 KB | 1 年前3Spring Framwork Data Access v5.3.36 SNAPSHOT
TransactionStatus getTransaction(TransactionDefinition definition) throws TransactionException; void commit(TransactionStatus status) throws TransactionException; void rollback(TransactionStatus status) getReactiveTransaction(TransactionDefinition definition) throws TransactionException; Monocommit(ReactiveTransaction status) throws TransactionException; Mono rollback(ReactiveTransaction rollback' rules. The following example tells the Spring Framework’s transaction infrastructure to commit the attendant transaction even in the face of an unhandled InstrumentNotFoundException: 0 码力 | 197 页 | 2.76 MB | 1 年前3
共 368 条
- 1
- 2
- 3
- 4
- 5
- 6
- 37