This repository was archived by the owner on Mar 13, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +10
-0
lines changed
examples/grails-hibernate
grails-datastore-gorm-hibernate Expand file tree Collapse file tree 4 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,9 @@ dependencies {
3030 // exclude javax variant of hibernate-core 5.6
3131 exclude group : ' org.hibernate' , module : ' hibernate-core'
3232 }
33+ runtimeOnly " org.jboss.spec.javax.transaction:jboss-transaction-api_1.3_spec:$jbossTransactionApiVersion " , {
34+ // required for hibernate-ehcache to work with javax variant of hibernate-core excluded
35+ }
3336 runtimeOnly ' org.springframework.boot:spring-boot-autoconfigure'
3437 runtimeOnly ' org.springframework.boot:spring-boot-starter-logging'
3538 runtimeOnly ' org.springframework.boot:spring-boot-starter-tomcat'
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ grailsGradlePluginVersion=7.0.0-M2
66grailsVersion =7.0.0-M1
77groovyVersion =4.0.24
88hibernateVersion =5.6.15.Final
9+ jbossTransactionApiVersion =2.0.0.Final
910yakworksHibernateGroovyProxyVersion =1.1
1011micronautPlatformVersion =4.6.3
1112picocliVersion =4.7.6
Original file line number Diff line number Diff line change @@ -40,6 +40,9 @@ dependencies {
4040 // exclude javax variant of hibernate-core 5.6
4141 exclude group : ' org.hibernate' , module : ' hibernate-core'
4242 }
43+ testRuntimeOnly " org.jboss.spec.javax.transaction:jboss-transaction-api_1.3_spec:$jbossTransactionApiVersion " , {
44+ // required for hibernate-ehcache to work with javax variant of hibernate-core excluded
45+ }
4346 testRuntimeOnly " org.slf4j:slf4j-simple"
4447 testRuntimeOnly " org.slf4j:jcl-over-slf4j"
4548 testRuntimeOnly " org.springframework:spring-aop"
Original file line number Diff line number Diff line change @@ -46,6 +46,9 @@ dependencies {
4646 // exclude javax variant of hibernate-core 5.6
4747 exclude group : ' org.hibernate' , module : ' hibernate-core'
4848 }
49+ runtimeOnly " org.jboss.spec.javax.transaction:jboss-transaction-api_1.3_spec:$jbossTransactionApiVersion " , {
50+ // required for hibernate-ehcache to work with javax variant of hibernate-core excluded
51+ }
4952 testRuntimeOnly " org.springframework:spring-aop"
5053 testRuntimeOnly " org.springframework:spring-expression"
5154 testRuntimeOnly " org.yaml:snakeyaml"
You can’t perform that action at this time.
0 commit comments