@Configuration @EnableJpaRepositories(value="org.activiti.app.repository") @EnableTransactionManagement public class DatabaseConfiguration extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static String |
LIQUIBASE_CHANGELOG_PREFIX |
| Constructor and Description |
|---|
DatabaseConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.transaction.PlatformTransactionManager |
annotationDrivenTransactionManager() |
DataSource |
dataSource() |
javax.persistence.EntityManagerFactory |
entityManagerFactory() |
org.springframework.orm.hibernate4.HibernateExceptionTranslator |
hibernateExceptionTranslator() |
org.springframework.jdbc.core.JdbcTemplate |
jdbcTemplate() |
org.springframework.orm.jpa.JpaVendorAdapter |
jpaVendorAdapter() |
liquibase.Liquibase |
liquibase() |
org.springframework.transaction.support.TransactionTemplate |
transactionTemplate() |
protected static final String LIQUIBASE_CHANGELOG_PREFIX
@Bean public DataSource dataSource()
@Bean(name="entityManagerFactory") public javax.persistence.EntityManagerFactory entityManagerFactory()
@Bean public org.springframework.orm.jpa.JpaVendorAdapter jpaVendorAdapter()
@Bean public org.springframework.orm.hibernate4.HibernateExceptionTranslator hibernateExceptionTranslator()
@Bean(name="transactionManager") public org.springframework.transaction.PlatformTransactionManager annotationDrivenTransactionManager()
@Bean(name="liquibase") public liquibase.Liquibase liquibase()
@Bean public org.springframework.jdbc.core.JdbcTemplate jdbcTemplate()
@Bean public org.springframework.transaction.support.TransactionTemplate transactionTemplate()
Copyright © 2017 Alfresco. All rights reserved.