@Configuration
@EnableTransactionManagement(order=-2147483548,
mode=PROXY,
proxyTargetClass=false)
@Import(value=org.springframework.transaction.aspectj.AspectJTransactionManagementConfiguration.class)
@EnableJpaRepositories(value="org.squashtest.tm.service.internal.repository")
public class RepositoryConfig
extends Object
implements org.springframework.transaction.annotation.TransactionManagementConfigurer
| Constructor and Description |
|---|
RepositoryConfig() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.transaction.PlatformTransactionManager |
annotationDrivenTransactionManager() |
javax.persistence.EntityManagerFactory |
entityManagerFactory() |
Properties |
hibernateProperties() |
org.springframework.jdbc.support.lob.DefaultLobHandler |
lobHandler() |
org.springframework.orm.jpa.JpaTransactionManager |
transactionManager() |
static javax.validation.ValidatorFactory |
validatorFactory() |
@Bean public org.springframework.jdbc.support.lob.DefaultLobHandler lobHandler()
@Bean(name="entityManagerFactory") @DependsOn(value="org.springframework.context.config.internalBeanConfigurerAspect") @Role(value=2) public javax.persistence.EntityManagerFactory entityManagerFactory()
@Bean @DependsOn(value="entityManagerFactory") public org.springframework.orm.jpa.JpaTransactionManager transactionManager()
@Bean public Properties hibernateProperties()
@Bean @Role(value=2) public static javax.validation.ValidatorFactory validatorFactory()
public org.springframework.transaction.PlatformTransactionManager annotationDrivenTransactionManager()
annotationDrivenTransactionManager in interface org.springframework.transaction.annotation.TransactionManagementConfigurerCopyright © 2010–2017 Henix, henix.fr. All rights reserved.