Description
I.e. have quarkus.hibernate-orm.request-scoped.enabled default to false instead of the current true.
Motivation:
- Allowing transaction-less sessions by default is not safe: running two queries in the same session outside of a transaction will give you inconsistent data.
- Allowing transaction-less sessions by default is not efficient: JDBC batching will not (in general) work outside of transactions, causing performance problems, especially with things like StatelessSession#insertMultiple/StatelessSession#updateMultiple.
Implementation ideas
No response
Description
I.e. have
quarkus.hibernate-orm.request-scoped.enableddefault tofalseinstead of the currenttrue.Motivation:
Implementation ideas
No response