HHH-9174 Increase performance
of SqlExceptionHelper#handleAndClearWarnings
Conflicts:
	hibernate-core/src/main/java/org/hibernate/engine/jdbc/spi/SqlExceptionHelper.java
HHH-9170 StatelessSession is accidentally 2LC enabled in some cases
HHH-9174 cache SqlExceptionHelper reference