Spring Framwork Testing v5.3.36 SNAPSHOT); repository.save(user); // Manual flush is required to avoid false positive in test sessionFactory.getCurrentSession().flush(); assertNumUsers(count + 1); } private User() repository.save(user) // Manual flush is required to avoid false positive in test sessionFactory.getCurrentSession().flush() assertNumUsers(count + 1) } private Hibernate session or JPA persistence context, make sure to flush the underlying unit of work within test methods that run that code. Failing to flush the underlying unit of work can produce false positives:0 码力 | 193 页 | 2.53 MB | 1 年前3
Spring Framework 1.2.3 Changelogtransactional PMs * added "FLUSH_COMMIT" support to HibernateTemplate/Interceptor for H2.1/H3, and "FLUSH_ALWAYS" support for H3 * HibernateTemplate/Interceptor also apply their flush mode to transactional JdoTemplate * updated DefaultJdoDialect for JDO2: exposing a JDO2 DataStoreConnection and calling the JDO2 flush method * changed JdoTemplate's "exposeNativePersistenceManager" default to "false": all PM interfaces from HibernateTemplate: use Session methods instead * SessionFactoryUtils sets Hibernate Session's flush mode to NEVER for a read-only transaction even with JTA Package org.springframework.samples * migrated0 码力 | 74 页 | 215.40 KB | 1 年前3
Spring Framework 1.2.5 Changelogtransactional PMs * added "FLUSH_COMMIT" support to HibernateTemplate/Interceptor for H2.1/H3, and "FLUSH_ALWAYS" support for H3 * HibernateTemplate/Interceptor also apply their flush mode to transactional JdoTemplate * updated DefaultJdoDialect for JDO2: exposing a JDO2 DataStoreConnection and calling the JDO2 flush method * changed JdoTemplate's "exposeNativePersistenceManager" default to "false": all PM interfaces from HibernateTemplate: use Session methods instead * SessionFactoryUtils sets Hibernate Session's flush mode to NEVER for a read-only transaction even with JTA Package org.springframework.samples * migrated0 码力 | 79 页 | 226.37 KB | 1 年前3
Spring Framework 1.2.4 Changelogtransactional PMs * added "FLUSH_COMMIT" support to HibernateTemplate/Interceptor for H2.1/H3, and "FLUSH_ALWAYS" support for H3 * HibernateTemplate/Interceptor also apply their flush mode to transactional JdoTemplate * updated DefaultJdoDialect for JDO2: exposing a JDO2 DataStoreConnection and calling the JDO2 flush method * changed JdoTemplate's "exposeNativePersistenceManager" default to "false": all PM interfaces from HibernateTemplate: use Session methods instead * SessionFactoryUtils sets Hibernate Session's flush mode to NEVER for a read-only transaction even with JTA Package org.springframework.samples * migrated0 码力 | 77 页 | 223.73 KB | 1 年前3
Spring Framework 1.2.7 Changelogtransactional PMs * added "FLUSH_COMMIT" support to HibernateTemplate/Interceptor for H2.1/H3, and "FLUSH_ALWAYS" support for H3 * HibernateTemplate/Interceptor also apply their flush mode to transactional JdoTemplate * updated DefaultJdoDialect for JDO2: exposing a JDO2 DataStoreConnection and calling the JDO2 flush method * changed JdoTemplate's "exposeNativePersistenceManager" default to "false": all PM interfaces from HibernateTemplate: use Session methods instead * SessionFactoryUtils sets Hibernate Session's flush mode to NEVER for a read-only transaction even with JTA Package org.springframework.samples * migrated0 码力 | 87 页 | 248.22 KB | 1 年前3
Spring Framework 1.2.6 Changelogtransactional PMs * added "FLUSH_COMMIT" support to HibernateTemplate/Interceptor for H2.1/H3, and "FLUSH_ALWAYS" support for H3 * HibernateTemplate/Interceptor also apply their flush mode to transactional JdoTemplate * updated DefaultJdoDialect for JDO2: exposing a JDO2 DataStoreConnection and calling the JDO2 flush method * changed JdoTemplate's "exposeNativePersistenceManager" default to "false": all PM interfaces from HibernateTemplate: use Session methods instead * SessionFactoryUtils sets Hibernate Session's flush mode to NEVER for a read-only transaction even with JTA Package org.springframework.samples * migrated0 码力 | 83 页 | 236.45 KB | 1 年前3
Spring Framework 1.2.8 Changelogtransactional PMs * added "FLUSH_COMMIT" support to HibernateTemplate/Interceptor for H2.1/H3, and "FLUSH_ALWAYS" support for H3 * HibernateTemplate/Interceptor also apply their flush mode to transactional JdoTemplate * updated DefaultJdoDialect for JDO2: exposing a JDO2 DataStoreConnection and calling the JDO2 flush method * changed JdoTemplate's "exposeNativePersistenceManager" default to "false": all PM interfaces from HibernateTemplate: use Session methods instead * SessionFactoryUtils sets Hibernate Session's flush mode to NEVER for a read-only transaction even with JTA Package org.springframework.samples * migrated0 码力 | 89 页 | 254.65 KB | 1 年前3
Spring Framework 1.2.x Changelogtransactional PMs * added "FLUSH_COMMIT" support to HibernateTemplate/Interceptor for H2.1/H3, and "FLUSH_ALWAYS" support for H3 * HibernateTemplate/Interceptor also apply their flush mode to transactional JdoTemplate * updated DefaultJdoDialect for JDO2: exposing a JDO2 DataStoreConnection and calling the JDO2 flush method * changed JdoTemplate's "exposeNativePersistenceManager" default to "false": all PM interfaces from HibernateTemplate: use Session methods instead * SessionFactoryUtils sets Hibernate Session's flush mode to NEVER for a read-only transaction even with JTA Package org.springframework.samples * migrated0 码力 | 94 页 | 267.57 KB | 1 年前3
Spring Framework 1.2.0 Changelog* updated DefaultJdoDialect for JDO2: exposing a JDO2 DataStoreConnection and calling the JDO2 flush method * changed JdoTemplate's "exposeNativePersistenceManager" default to "false": all PM interfaces from HibernateTemplate: use Session methods instead * SessionFactoryUtils sets Hibernate Session's flush mode to NEVER for a read-only transaction even with JTA Package org.springframework.samples * migrated pre-bound Hibernate Session gets set to FlushMode.AUTO for transaction synchronization, to enforce flush at commit * added "checkWriteOperations" flag to HibernateTemplate, to be able to suppress read-only0 码力 | 67 页 | 194.16 KB | 1 年前3
Spring Framework 1.2.2 ChangelogJdoTemplate * updated DefaultJdoDialect for JDO2: exposing a JDO2 DataStoreConnection and calling the JDO2 flush method * changed JdoTemplate's "exposeNativePersistenceManager" default to "false": all PM interfaces from HibernateTemplate: use Session methods instead * SessionFactoryUtils sets Hibernate Session's flush mode to NEVER for a read-only transaction even with JTA Package org.springframework.samples * migrated pre-bound Hibernate Session gets set to FlushMode.AUTO for transaction synchronization, to enforce flush at commit * added "checkWriteOperations" flag to HibernateTemplate, to be able to suppress read-only0 码力 | 72 页 | 205.76 KB | 1 年前3
共 263 条
- 1
- 2
- 3
- 4
- 5
- 6
- 27













