Class JPAConfiguration

java.lang.Object
org.tailormap.api.configuration.JPAConfiguration

@Configuration @EnableJpaRepositories(basePackages="org.tailormap.api.repository") @EntityScan(basePackages="org.tailormap.api.persistence") @EnableTransactionManagement @Profile("!test") public class JPAConfiguration extends Object
JPA configuration beans.
Since:
0.1
  • Constructor Details

    • JPAConfiguration

      public JPAConfiguration()
  • Method Details

    • exceptionTranslation

      @Bean public org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor exceptionTranslation()