Hibernate core does not work with latest commons-dbcp (tomcat dbcp2) against Java 6 compatible jdbc drivers (mssql 2012)

Description

Hibernate’s DefaultSchemaNameResolver expects an AbstractMethodError when the jdbc driver is written to be compatible with Java6. Some connection pools silently ignore AbstractMethodError and return null. That is the case in the latest commons dbcp (tomcat dbcp2).

Environment

Any env using tomcat dbcp2 8.5.45+ (commons dbcp) with hibernate core 5.2.17.FINAL against a mssql 2012.

Status

Assignee

Unassigned

Reporter

Tirla Florin-Alin

Fix versions

None

Labels

None

backPortable

Backport?

Suitable for new contributors

Yes, likely

Requires Release Note

None

backportDecision

None

Feedback Requested

2019/09/20

Components

Priority

Minor
Configure