use of org.springframework.orm.jpa.JpaTransactionManager in project uhgroupings by uhawaii-system-its-ti-iam.
the class DatabaseConfig method transactionManager.
@Bean
public JpaTransactionManager transactionManager(EntityManagerFactory entityManagerFactory) {
JpaTransactionManager transactionManager = new JpaTransactionManager();
transactionManager.setEntityManagerFactory(entityManagerFactory);
return transactionManager;
}
use of org.springframework.orm.jpa.JpaTransactionManager in project nikita-noark5-core by HiOA-ABI.
the class DataSourceConfig method transactionManager.
@Bean
JpaTransactionManager transactionManager(EntityManagerFactory entityManagerFactory) {
JpaTransactionManager transactionManager = new JpaTransactionManager();
transactionManager.setEntityManagerFactory(entityManagerFactory);
return transactionManager;
}
use of org.springframework.orm.jpa.JpaTransactionManager in project av-service by dvoraka.
the class DbConfig method transactionManager.
@Bean
public JpaTransactionManager transactionManager(EntityManagerFactory entityManagerFactory) {
JpaTransactionManager transactionManager = new JpaTransactionManager();
transactionManager.setEntityManagerFactory(entityManagerFactory);
return transactionManager;
}
use of org.springframework.orm.jpa.JpaTransactionManager in project av-service by dvoraka.
the class DbMemConfig method transactionManager.
@Bean
public JpaTransactionManager transactionManager(EntityManagerFactory entityManagerFactory) {
JpaTransactionManager transactionManager = new JpaTransactionManager();
transactionManager.setEntityManagerFactory(entityManagerFactory);
return transactionManager;
}
use of org.springframework.orm.jpa.JpaTransactionManager in project cas by apereo.
the class JpaTicketRegistryConfiguration method ticketTransactionManager.
@Bean
public PlatformTransactionManager ticketTransactionManager(@Qualifier("ticketEntityManagerFactory") final EntityManagerFactory emf) {
final JpaTransactionManager mgmr = new JpaTransactionManager();
mgmr.setEntityManagerFactory(emf);
return mgmr;
}
Aggregations