public interface Flushable
flushDatabaseUpdates(Object) will be called on the module
when a flush is requested on the DatabaseModule (by calling its flushDatabaseUpdates(Object) method).
An example a flushable module is the HibernateModule. Hibernate stores updates in the session (in memory) without performing
them on the database. If you want to be sure that these updates are executed on the database, you need to flush the hibernate session.| 限定符和类型 | 方法和说明 |
|---|---|
void |
flushDatabaseUpdates(Object testObject)
Flush all cached database operations.
|
void flushDatabaseUpdates(Object testObject)
Copyright © 2008–2020 Matrix. All rights reserved.