Closed
Description
During our work to investigate the compatibility with Hibernate 6 in Spring Data JPA we ran into an issue surfacing in Spring Frameworks transaction management:
In ….beginTransaction(…)
, HibernateJpaDialect
calls SessionImplementor.connection()
a method that has been removed in CR1 (could've been in one of the betas already, I didn't check) to issue read-only transactions. It looks like the new way to access the Connection
is calling ….getJdbcConnectionAccess().obtainConnection()
.
Related tickets: