BAEL-592: Upgraded Hibernate 5-module to Spring 5 (#3351)

* BAEL-592 Guide to Hibernate 5 with Spring

* BAEL-592: Upgrade to Spring 5
This commit is contained in:
markusgulden 2018-01-04 16:20:53 +01:00 committed by Grzegorz Piwowarek
parent 5459445826
commit b54440ddb3
2 changed files with 3 additions and 3 deletions

View File

@ -179,7 +179,7 @@
<properties>
<!-- Spring -->
<org.springframework.version>4.3.10.RELEASE</org.springframework.version>
<org.springframework.version>5.0.2.RELEASE</org.springframework.version>
<org.springframework.data.version>1.10.6.RELEASE</org.springframework.data.version>

View File

@ -10,8 +10,8 @@ import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;
import org.springframework.core.env.Environment;
import org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor;
import org.springframework.orm.hibernate4.HibernateTransactionManager;
import org.springframework.orm.hibernate4.LocalSessionFactoryBean;
import org.springframework.orm.hibernate5.HibernateTransactionManager;
import org.springframework.orm.hibernate5.LocalSessionFactoryBean;
import org.springframework.transaction.PlatformTransactionManager;
import org.springframework.transaction.annotation.EnableTransactionManagement;