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