@Configuration
@EnableTransactionManagement(order=-2147483548,
mode=PROXY,
proxyTargetClass=false)
@Import(value=org.springframework.transaction.aspectj.AspectJTransactionManagementConfiguration.class)
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() |
Properties |
hibernateProperties()
TODO nosgi that's kind of ugly.. find something better
|
org.springframework.jdbc.support.lob.DefaultLobHandler |
lobHandler() |
org.springframework.orm.hibernate4.LocalSessionFactoryBean |
sessionFactory() |
org.springframework.orm.hibernate4.HibernateTransactionManager |
transactionManager() |
static javax.validation.ValidatorFactory |
validatorFactory() |
@Bean public org.springframework.jdbc.support.lob.DefaultLobHandler lobHandler()
@Bean(name="squashtest.tm.persistence.hibernate.SessionFactory") @Role(value=2) @DependsOn(value="org.springframework.context.config.internalBeanConfigurerAspect") public org.springframework.orm.hibernate4.LocalSessionFactoryBean sessionFactory()
@Bean @Role(value=2) public org.springframework.orm.hibernate4.HibernateTransactionManager 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-2016 Henix, henix.fr. All Rights Reserved.