Configuration property CONNECTION_PROVIDER_DISABLES_AUTOCOMMIT should not be passed to the JDBC connection properties

Description

We have the convention that all properties having a prefix hibernate.connection. are passed to the JDBC driver as connection properties as-is, but this property shouldn't.

See the following issue; it's a problem for the Google Spanner driver as it doesn't accept unknown properties:

Also: Quarkus sets this property by default as it expects to be using the Agroal connection pool; in that case there's alternative solutions.

Environment

None

Status

Assignee

Sanne Grinovero

Reporter

Sanne Grinovero

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Priority

Minor
Configure