@Configuration @Import(value=CommonHibernateConfiguration.class) public class ReportHibernateConfiguration extends Object
| Constructor and Description |
|---|
ReportHibernateConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.beans.factory.FactoryBean<javax.persistence.EntityManagerFactory> |
getCustomLocalContainerEntityManagerFactoryBean(DataSource dataSource,
Properties jpaProperties)
TODO: Add JavaDoc.
|
org.springframework.orm.jpa.JpaTransactionManager |
getJpaTransactionManager(org.springframework.beans.factory.FactoryBean<javax.persistence.EntityManagerFactory> entityManagerFactory)
TODO: Add JavaDoc.
|
@Bean(name="entityManagerFactory") public org.springframework.beans.factory.FactoryBean<javax.persistence.EntityManagerFactory> getCustomLocalContainerEntityManagerFactoryBean(DataSource dataSource, Properties jpaProperties)
@Bean(name="transactionManager")
public org.springframework.orm.jpa.JpaTransactionManager getJpaTransactionManager(org.springframework.beans.factory.FactoryBean<javax.persistence.EntityManagerFactory> entityManagerFactory)
throws Exception
ExceptionCopyright © 2025. All rights reserved.