Session close counter statistic not updated when using Hibernate in JPA mode
Description
When using hibernate in JPA mode with statistics enabled, the session close statistic is not updated. Giving a look in the close() method of SessionImpl
we can see that getFactory().getStatistics().closeSession(); is only called in native mode
When using hibernate in JPA mode with statistics enabled, the session close statistic is not updated.
Giving a look in the close() method of SessionImpl
we can see that getFactory().getStatistics().closeSession(); is only called in native mode