Added regression test for HHH-9327

(cherry picked from commit 3da903f064e9c4963efd1f2c21d69af70e4aa1f1)
(cherry picked from commit 1df6c45f8a1a16d16e9a33938787bd2a0c8f1b8c)
(cherry picked from commit 4505843f0211a5d592907a3f35324a54d0bd7937)
HHH-9327 : NamingStrategy regression (reverts previous commit for HHH-9281)

(cherry picked from commit 30c6e060dba6933702a347e4f82f4579604a2aab)
(cherry picked from commit c63bc19d8abc88aa91ee9cbad03a34999cf5a592)

Conflicts:
	hibernate-core/src/test/java/org/hibernate/test/annotations/collectionelement/CollectionElementTest.java
HHH-9387 HHH-9389 : Default collection table and join column names generated for @ElementCollection (test cases)

HHH-9387 HHH-9389 : Default collection join column names generated for @ElementCollection (test cases)

(cherry picked from commit f2ae61abf63e71367542b2a3f05c41f3d04bbed1)

Conflicts:
	hibernate-core/src/test/java/org/hibernate/test/annotations/collectionelement/CollectionElementTest.java
	hibernate-core/src/test/java/org/hibernate/test/annotations/collectionelement/Matrix.java
HHH-9390 : Default join column name (FK) for @ManyToMany uses owning entity primary table name (test cases)

(cherry picked from commit d4d5fcc9e2386c14b4fd7d24b22bf26f25658df8)
 HHH-9390 : Default join column name (FK) for @ManyToMany uses owning entity primary table name (test cases)
HHH-9344 Guard against unneeded invocation to System.currentTimeMillis() in HQLQueryPlan
HHH-9344 Remove dead code from BatchTest
HHH-9344 Convert DefaultResolveNaturalIdEventListener to use nanoTime instead of currentTimeMillis
HHH-9344 Convert QueryTranslatorImpl to use nanoTime instead of currentTimeMillis
HHH-9344 Convert Loader to use nanoTime instead of currentTimeMillis
HHH-9344 Convert QueryLoader to use nanoTime instead of currentTimeMillis