Package org.tailormap.api.configuration
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor
-
Constructor Details
-
JPAConfiguration
public JPAConfiguration()
-
-
Method Details
-
exceptionTranslation
@Bean public org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor exceptionTranslation()
-