Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -709,7 +709,7 @@ A configuration value key used to indicate that it is safe to cache.
`*hibernate.jta.cacheUserTransaction*` (e.g. `true` or `false` (default value))::
A configuration value key used to indicate that it is safe to cache.

`*hibernate.transaction.flush_before_completion*` (e.g. `true` or `false` (default value))::
`*hibernate.transaction.flush_before_completion*` (e.g. `true` (default value) or `false` )::
Causes the session be flushed during the before completion phase of the transaction. If possible, use built-in and automatic session context management instead.
Comment on lines +712 to 713
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the following would be better

Suggested change
`*hibernate.transaction.flush_before_completion*` (e.g. `true` (default value) or `false` )::
Causes the session be flushed during the before completion phase of the transaction. If possible, use built-in and automatic session context management instead.
`*hibernate.transaction.flush_before_completion*` (e.g. `true` (Hibernate boot default value) or `false` (JPA boot default value) )::
Causes the session be flushed during the before completion phase of the transaction. If possible, use built-in and automatic session context management instead. When Hibernate is link:https://docs.jboss.org/hibernate/orm/current/quickstart/html_single/#hibernate-gsg-tutorial-basic-test[booted through the native API], the default value is `true`, otherwise `false`.


`*hibernate.transaction.auto_close_session*` (e.g. `true` or `false` (default value))::
Expand Down