docs: @Bean
    public LocalContainerEntityManagerFactoryBean entityManagerFactory() {
      HibernateJpaVendorAdapter jpaVendorAdapter = new HibernateJpaVendorAdapter();
      jpaVendorAdapter.setDatabase(Database.H2);
      jpaVendorAdapter.setGenerateDdl(true);
  
      LocalContainerEntityManagerFactoryBean entityManagerFactory = new LocalContainerEntityManagerFactoryBean();
      entityManagerFactory.setPackagesToScan(this.getClass().getPackage().getName());
      entityManagerFactory.setJpaVendorAdapter(jpaVendorAdapter);
      entityManagerFactory.setDataSource(dataSource());
      return entityManagerFactory;
    }