Upgrading from Hibernate v5.2.10(Also v5.3.20) to v5.4.24, we noticed the SQL generation seems to be working differently in case of the below scenario:
@Entit