@RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
    @Bean
    public JpaBeanFactory jpaBeanFactory(final ConfigurableApplicationContext applicationContext) {
        return new CasHibernateJpaBeanFactory(applicationContext);
    }
This is {@link CasHibernateJpaAutoConfiguration}.

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