File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
spring-orm-hibernate4/src/main/java/org/springframework/orm/hibernate4 Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ configure(allprojects) { project ->
33
33
ext. ehcacheJCacheVersion = " 1.0.0"
34
34
ext. groovyVersion = " 2.3.7"
35
35
ext. hibernate3Version = " 3.6.10.Final"
36
- ext. hibernate4Version = " 4.3.6 .Final"
36
+ ext. hibernate4Version = " 4.3.7 .Final"
37
37
ext. hibVal4Version = " 4.3.2.Final"
38
38
ext. hibVal5Version = " 5.1.3.Final"
39
39
ext. hsqldbVersion = " 2.3.2"
@@ -43,7 +43,7 @@ configure(allprojects) { project ->
43
43
ext. jettyVersion = " 9.2.3.v20140905"
44
44
ext. jodaVersion = " 2.5"
45
45
ext. junitVersion = " 4.11"
46
- ext. nettyVersion = " 4.0.23 .Final"
46
+ ext. nettyVersion = " 4.0.24 .Final"
47
47
ext. openJpaVersion = " 2.2.2" // 2.3.0 not Java 8 compatible (based on ASM 4)
48
48
ext. protobufVersion = " 2.6.0"
49
49
ext. reactorVersion = " 1.1.5.RELEASE"
Original file line number Diff line number Diff line change 25
25
import org .hibernate .SessionFactory ;
26
26
import org .hibernate .cache .spi .RegionFactory ;
27
27
import org .hibernate .cfg .Configuration ;
28
- import org .hibernate .cfg .NamingStrategy ;
29
28
30
29
import org .springframework .beans .factory .DisposableBean ;
31
30
import org .springframework .beans .factory .FactoryBean ;
@@ -86,7 +85,8 @@ public class LocalSessionFactoryBean extends HibernateExceptionTranslator
86
85
87
86
private Interceptor entityInterceptor ;
88
87
89
- private NamingStrategy namingStrategy ;
88
+ @ SuppressWarnings ("deprecation" )
89
+ private org .hibernate .cfg .NamingStrategy namingStrategy ;
90
90
91
91
private Object jtaTransactionManager ;
92
92
@@ -222,7 +222,8 @@ public void setEntityInterceptor(Interceptor entityInterceptor) {
222
222
* physical column and table names given the info in the mapping document.
223
223
* @see org.hibernate.cfg.Configuration#setNamingStrategy
224
224
*/
225
- public void setNamingStrategy (NamingStrategy namingStrategy ) {
225
+ @ SuppressWarnings ("deprecation" )
226
+ public void setNamingStrategy (org .hibernate .cfg .NamingStrategy namingStrategy ) {
226
227
this .namingStrategy = namingStrategy ;
227
228
}
228
229
You can’t perform that action at this time.
0 commit comments