This repository was archived by the owner on Mar 13, 2025. It is now read-only.
File tree 3 files changed +9
-8
lines changed
grails3-hibernate5-mongodb
gson-templates/grails-app/conf
3 files changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,13 @@ dependencies {
22
22
runtimeOnly ' org.grails.plugins:scaffolding'
23
23
runtimeOnly ' org.grails:grails-plugin-i18n'
24
24
runtimeOnly ' org.grails:grails-plugin-url-mappings'
25
- runtimeOnly ' org.hibernate:hibernate-ehcache'
25
+ runtimeOnly " org.hibernate:hibernate-ehcache:$hibernateVersion " , {
26
+ // exclude javax variant of hibernate-core
27
+ exclude group : " org.hibernate" , module : " hibernate-core"
28
+ }
29
+ runtimeOnly " org.jboss.spec.javax.transaction:jboss-transaction-api_1.3_spec:$jbossTransactionApiVersion " , {
30
+ // required for hibernate-ehcache to work with javax variant of hibernate-core excluded
31
+ }
26
32
runtimeOnly ' org.springframework.boot:spring-boot-autoconfigure'
27
33
runtimeOnly ' org.springframework.boot:spring-boot-starter-logging'
28
34
runtimeOnly ' org.springframework.boot:spring-boot-starter-tomcat'
Original file line number Diff line number Diff line change @@ -69,13 +69,6 @@ grails:
69
69
taglib : none
70
70
staticparts : none
71
71
---
72
- hibernate :
73
- cache :
74
- queries : false
75
- use_second_level_cache : false
76
- use_query_cache : false
77
- # region.factory_class: 'org.hibernate.cache.ehcache.EhCacheRegionFactory'
78
-
79
72
endpoints :
80
73
jmx :
81
74
unique-names : true
Original file line number Diff line number Diff line change @@ -10,6 +10,8 @@ testcontainersMongodbVersion=1.20.1
10
10
# for example apps only
11
11
grailsSpringSecurityCoreVersion =7.0.0-SNAPSHOT
12
12
grailsSpringSecurityRestVersion =6.0.0-SNAPSHOT
13
+ hibernateVersion =5.6.15.Final
14
+ jbossTransactionApiVersion =2.0.0.Final
13
15
14
16
# This prevents the Grails Gradle Plugin from unnecessarily excluding slf4j-simple in the generated POMs
15
17
# https://github.com/grails/grails-gradle-plugin/issues/222
You can’t perform that action at this time.
0 commit comments