simple improvement and code format
refactor, remove redundant type cast
HHH-7561 - Fix and test
using ConcurrentHashMap for decrease synchronization
code format and fixing typo
simple change, mostly are removing those unnesserary unboxing code.
HHH-7437 - Fix and test
HHH-7866 Avoid redundant log level checking in StandardQueryCache
HHH-7866 Cleanup and added a few more checks
HHH-6643 Criteria doesn't support a chaining of 2 not restrictions (sql
= not not criterion)
HHH-3458 Register postgres random() function as "rand" in PostgresSQLDialect
HHH-6643 Corrected intermittent test failure
HHH-2448 Generate identical column aliases among cluster
HHH-7797 Deprecating mistakenly removed Dialect methods
HHH-6643 Overrode getNotExpression in DB2Dialect
HHH-7911 NPE in TwoPhaseLoad#initializeEntity
HHH-7912 - Define edge-case behavior for Session.evict
HHH-7870 - Fix and test
HHH-7914 - Improve new stored procedure call support
HHH-7902 Replace JDBC proxies with a set of contracts/helpers

HHH-7902 Merged JdbcResourceRegistry into JdbcCoordinator.  Parts of
LogicalConnection moved into JdbcCoordinator as well.

HHH-7902 Replaced Statement#close and ResultSet#close calls with
JdbcCoordinator#release

HHH-7902 Enforced the use of StatementPreparer, instead of Connection

HHH-7902 ResultSetExtractor.  Replaced all instances of execute,
executeQuery, executeUpdate, etc.

HHH-7902 Refactored AbstractReturningDelegate to give access to
jdbcCoordinator

HHH-7902 Corrected test failures

HHH-7902 Removed resource registry use from JdbcIsolation workers

HHH-7902 Corrected a few bugs in JdbcCoordinator and ResultSetExtractor.

HHH-7902 ResultSetExtractor -> ResultSetReturn.  Reworked proxy tests to
test the new APIs.

Conflicts:
	hibernate-core/src/main/java/org/hibernate/internal/SessionImpl.java
	hibernate-core/src/test/java/org/hibernate/sharedSession/SessionWithSharedConnectionTest.java
	hibernate-core/src/test/java/org/hibernate/test/dialect/functional/SQLServerDialectTest.java
	hibernate-core/src/test/java/org/hibernate/test/jdbc/proxies/BatchingTest.java
	hibernate-core/src/test/java/org/hibernate/test/transaction/jdbc/TestExpectedUsage.java
	hibernate-core/src/test/java/org/hibernate/test/transaction/jta/BasicDrivingTest.java
	hibernate-core/src/test/java/org/hibernate/test/transaction/jta/ManagedDrivingTest.java