@Configuration @EnableTransactionManagement(proxyTargetClass=true) @Profile(value="production") public class JpaConfiguration extends Object
| Constructor and Description |
|---|
JpaConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
javax.persistence.EntityManagerFactory |
entityManagerFactory() |
org.springframework.orm.jpa.JpaVendorAdapter |
jpaVendorAdaper() |
org.springframework.transaction.PlatformTransactionManager |
transactionManager() |
@Bean public org.springframework.transaction.PlatformTransactionManager transactionManager()
@Bean @DependsOn(value="flyway") public javax.persistence.EntityManagerFactory entityManagerFactory()
@Bean public org.springframework.orm.jpa.JpaVendorAdapter jpaVendorAdaper()
Copyright © 2015–2016 eGovernments Foundation. All rights reserved.