P E N C I L
Login
Spring config
  1. @C0nfiguration
    @EnableJpaRepositories
    @EnableTransactionManagement
    class MyConfig {
        @Bean  DataSource getDataSource() {}
        @Bean  EnityManagerFactory getEntityManagerFactory()
        @Bean PlatformTransactionManager getTx()
    }