@Override
    public JpaVendorAdapter newJpaVendorAdapter(final DatabaseProperties databaseProperties) {
        val bean = new HibernateJpaVendorAdapter();
        bean.setGenerateDdl(databaseProperties.isGenDdl());
        bean.setShowSql(databaseProperties.isShowSql());
        return bean;
    }
This is {@link CasHibernateJpaBeanFactory}.

@author Misagh Moayyed
@since 6.2.0
support/cas-server-support-jpa-hibernate/src/main/java/org/apereo/cas/hibernate/CasHibernateJpaBeanFactory.java