I personally don't see the need for this. As far as I know this has never
been a feature request from a user, either. We already have so many
configuration options, I prefer to add them only when there is a clear
reason or a clear user desire. I don't see either here, personally.
On Tue, Dec 8,
Since AUTO requires manual synchronization for native queries, maybe it's
worth adding such a configuration.
http://vladmihalcea.com/2014/08/13/the-dark-side-of-hibernate-auto-flush/
There might be users who choose ALWAYS, especially if they mix Hibernate
with native queries.
What do you think?
Well if you read closely I said we support it on the
EntityManager/Session. As far as I know we have never supported that on
the EntityManagerFactory/SessionFactory.
On Tue, Dec 8, 2015 at 11:50 AM Vlad Mihalcea
wrote:
> Hi,
>
> I stumble don this question on the forum:
>
> https://forum.hibern