-
-
Notifications
You must be signed in to change notification settings - Fork 973
Hibernate 7 - Step 1 #15654
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
jdaugherty
wants to merge
76
commits into
8.0.x
Choose a base branch
from
8.0.x-stage-hibernate7
base: 8.0.x
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Hibernate 7 - Step 1 #15654
Changes from 12 commits
Commits
Show all changes
76 commits
Select commit
Hold shift + click to select a range
d55aff3
stage: clone hibernate5 modules to hibernate7 as baseline
jdaugherty 4084938
Add missing hibernate7 test flags
jdaugherty ec859bf
rename spring orm source from hibernate5 -> hibernate7
jdaugherty 214a291
hibernate6.gorm.suite -> hibernate7.gorm.suite
jdaugherty 5ac6e2c
Add missing checks for hibernate7.gorm.suite
jdaugherty caa32c4
Remove import / switch back to javadoc
jdaugherty 5112d89
Remove import / switch back to javadoc
jdaugherty ed0916d
Pull forward manager.addAllDomainClasses change
jdaugherty 01c27f9
Pull forward package changes
jdaugherty c8cb43f
Pull forward base tck test
jdaugherty f18465a
fix codenarc violations
jdaugherty 4c5c563
Fix import
jdaugherty fbe6d04
Fix negative check
jdaugherty ba6d0aa
Adopt gradle test aggregation reporting
jdaugherty 0366b20
Pull forward liquibase-hibernate fork
jdaugherty a45a8e5
Skill file license cleanup
jdaugherty 5f08705
Pull forward workflow target branch changes
jdaugherty 4efa439
Pull forward styling fixes
jdaugherty 4cbcd71
Pull forward hibernate6 reference removal
jdaugherty 7771d73
Pull forward micronaut bom adoption for forge
jdaugherty d79c78b
Pull forward hibernate6 -> hibernate7 name fixes
jdaugherty fc7bfeb
Pull forward micronaut hibernate7 / hibernate5 bom split
jdaugherty 153e555
Pull forward using testcontainers from the bom
jdaugherty 954f89e
Pull forward styling changes in mongo
jdaugherty 2641faf
Pull forward micronaut bom docs
jdaugherty 89420e7
Pull forward code style settings
jdaugherty 375e0b6
Pull forward hibernate7 doc ignore
jdaugherty 02c169a
Pull forward license addition
jdaugherty 88a5192
Pull forward remaining license for liquibase fork, bom selection, and…
jdaugherty ac007f3
Pull forward workaround for mongo (only use hibernate5 docs for now)
jdaugherty f9da7d5
Pull forward documentation update
jdaugherty d717f96
Pull forward dependency cleanup due to bom adoption
jdaugherty e3cad41
Pull forward async project cleanup
jdaugherty 093f41e
Pull forward properties override, geb property override, workflow bra…
jdaugherty 6c82efb
Pull forward styling fixes
jdaugherty 4b5c6e9
Pull forward follow=true fix
jdaugherty a14af3a
Pull forward removal of transitive test dependency
jdaugherty 8ab6e91
Pull forward removal of dead code
jdaugherty 0a43922
Pull forward bom versions page
jdaugherty 15f2be6
Pull forward test reformatting & domain defaults
jdaugherty 81c434b
Pull forward styling changes
jdaugherty dbe666a
Pull forward bom adoption
jdaugherty 4ba3d02
Pull forward bom envers
jdaugherty 2c02980
Comment out dbmigration-core since it's really hibernate7 code
jdaugherty 1c6a015
Fix WhereMethodSpec package import & bom ignores for micronaut
jdaugherty d8ca9dc
Pull forward spec changes
jdaugherty 36d649e
Add missing license header
jdaugherty a951477
Remove invalid mappings
jdaugherty 772415b
Pull forward multi-tenant test changes
jdaugherty 37c2b90
Revert the hibernate7 code pull forward
jdaugherty bd741c6
Pull forward removal of Shared
jdaugherty 7fc83fd
Pull forward test changes
jdaugherty 58de59f
Pull forward compiler configuration since it's only a project rename
jdaugherty 62befcd
Pull forward build artifact name changes
jdaugherty ee4ab14
Pull forward test changes
jdaugherty f76e090
Fix bad compareTo vs equals implementation
jdaugherty 7ba9c67
Add missing domains
jdaugherty 6bbe3b3
Pull forward test changes
jdaugherty 982a4ea
Pull forward test styling
jdaugherty ec17b09
Fix tests for stage branch
jdaugherty 7a410b3
Splitting analysis from style from code coverage & various associated…
jdaugherty af842ab
Add missing properties
jdaugherty f8d475c
Remove code analysis from forge since they dont' apply those plugins …
jdaugherty dfb255f
Updating analysis workflow
jdaugherty d959e4e
Expand test coverage for extending the criteria implementation with a…
jdaugherty 5436ff0
Add more build directories to rat ignore config
jdaugherty 340a1f1
Pull forward test lens fix
jdaugherty 263f7ed
Fix bad merge
jdaugherty caeb724
Remove codememory skill reference for now
jdaugherty 4eca4ca
Remove slf4j-simple
jdaugherty ada5f2a
Copy hibernate5 test to hibernate7
jdaugherty 3fa03ac
Copy hibernate5 test to hibernate7
jdaugherty b04a50f
Copy hibernate5 test to hibernate7
jdaugherty 1c61325
Merge branch '8.0.x' into 8.0.x-stage-hibernate7
jamesfredley 39d64f1
Merge branch '8.0.x' into 8.0.x-stage-hibernate7
jamesfredley 09f395c
Fix hibernate5Version property references in grails-test-examples/gra…
jamesfredley File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,75 @@ | ||
| /* | ||
| * Licensed to the Apache Software Foundation (ASF) under one | ||
| * or more contributor license agreements. See the NOTICE file | ||
| * distributed with this work for additional information | ||
| * regarding copyright ownership. The ASF licenses this file | ||
| * to you under the Apache License, Version 2.0 (the | ||
| * "License"); you may not use this file except in compliance | ||
| * with the License. You may obtain a copy of the License at | ||
| * | ||
| * https://www.apache.org/licenses/LICENSE-2.0 | ||
| * | ||
| * Unless required by applicable law or agreed to in writing, | ||
| * software distributed under the License is distributed on an | ||
| * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
| * KIND, either express or implied. See the License for the | ||
| * specific language governing permissions and limitations | ||
| * under the License. | ||
| */ | ||
|
|
||
| dependencies { | ||
| // https://docs.gradle.org/8.3/userguide/upgrading_version_8.html#test_framework_implementation_dependencies | ||
| add('testRuntimeOnly', 'org.junit.platform:junit-platform-launcher') | ||
| } | ||
|
|
||
| tasks.withType(Test).configureEach { | ||
| // Honor DO_NOT_CACHE_TESTS=1 so developers can repeatedly invoke the same test command | ||
| // without --rerun-tasks (and without recompiling everything else). | ||
| outputs.cacheIf { !doNotCacheTests } | ||
| outputs.upToDateWhen { !doNotCacheTests } | ||
|
|
||
| onlyIf { | ||
| ![ | ||
| 'onlyFunctionalTests', | ||
| 'onlyHibernate5Tests', | ||
| 'skipHibernate7Tests', | ||
| 'onlyMongodbTests', | ||
| 'onlyCoreTests', | ||
| 'skipTests' | ||
| ].find { | ||
| project.hasProperty(it) | ||
| } | ||
| } | ||
|
|
||
| useJUnitPlatform() | ||
| systemProperty('hibernate7.gorm.suite', System.getProperty('hibernate7.gorm.suite') ?: true) | ||
| reports.html.required = !isCiBuild | ||
| reports.junitXml.required = !isCiBuild | ||
| testLogging { | ||
| events('passed', 'skipped', 'failed') | ||
| showExceptions = true | ||
| exceptionFormat = 'full' | ||
| showCauses = true | ||
| showStackTraces = true | ||
|
|
||
| // set options for log level DEBUG and INFO | ||
| debug { | ||
| events('started', 'passed', 'skipped', 'failed', 'standardOut', 'standardError') | ||
| exceptionFormat = 'full' | ||
| } | ||
| info.events = debug.events | ||
| info.exceptionFormat = debug.exceptionFormat | ||
| } | ||
| afterTest { desc, result -> | ||
| logger.quiet(' -- Executed test {} [{}] with result: {}', desc.name, desc.className, result.resultType) | ||
| } | ||
| afterSuite { desc, result -> | ||
| if (!desc.parent) { // will match the outermost suite | ||
| def output = "Results: ${result.resultType} (${result.testCount} tests, ${result.successfulTestCount} successes, ${result.failedTestCount} failures, ${result.skippedTestCount} skipped)" | ||
| def startItem = '| ', endItem = ' |' | ||
| def repeatLength = startItem.length() + output.length() + endItem.length() | ||
| def dashes = '-' * repeatLength | ||
| logger.quiet('\n{}\n{}{}{}\n{}', dashes, startItem, output, endItem, dashes) | ||
| } | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.