Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit 1c7b169

Browse files
committed
Set system property "hibernate5.gorm.suite" to ignore some tests in hibernate5
1 parent d656771 commit 1c7b169

File tree

1 file changed

+1
-0
lines changed
  • grails-datastore-gorm-hibernate5/src/test/groovy/org/grails/datastore/gorm

1 file changed

+1
-0
lines changed

grails-datastore-gorm-hibernate5/src/test/groovy/org/grails/datastore/gorm/Setup.groovy

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ class Setup {
7171
}
7272

7373
static Session setup(List<Class> classes, ConfigObject grailsConfig = new ConfigObject(), boolean isTransactional = true) {
74+
System.setProperty("hibernate5.gorm.suite", "true")
7475
grailsApplication = new DefaultGrailsApplication(classes as Class[], new GroovyClassLoader(Setup.getClassLoader()))
7576
if(grailsConfig) {
7677
grailsApplication.config.putAll(grailsConfig)

0 commit comments

Comments
 (0)