-
Notifications
You must be signed in to change notification settings - Fork 38.6k
Closed
Labels
in: dataIssues in data modules (jdbc, orm, oxm, tx)Issues in data modules (jdbc, orm, oxm, tx)type: documentationA documentation taskA documentation task
Milestone
Description
Affects: 5.2.6
The javadoc for org.springframework.orm.hibernate5.support.OpenSessionInViewFilter
mentions FlushMode.NEVER
:
* <p><b>NOTE</b>: This filter will by default <i>not</i> flush the Hibernate Session,
* with the flush mode set to {@code FlushMode.NEVER}. It assumes to be used
* in combination with service layer transactions that care for the flushing: The
* active transaction manager will temporarily change the flush mode to
* {@code FlushMode.AUTO} during a read-write transaction, with the flush
* mode reset to {@code FlushMode.NEVER} at the end of each transaction.
However there is currently no FlushMode.NEVER
in org.hibernate.FlushMode
, it was removed in hibernate 5.2.
Should there be FlushMode.MANUAL
?
Metadata
Metadata
Assignees
Labels
in: dataIssues in data modules (jdbc, orm, oxm, tx)Issues in data modules (jdbc, orm, oxm, tx)type: documentationA documentation taskA documentation task