Skip to content

Commit

Permalink
Update hibernate plugin usage to remove deprecated calls, remove init…
Browse files Browse the repository at this point in the history
… of logger
  • Loading branch information
agrancaric committed Oct 4, 2023
1 parent 5012a1f commit f1d2f70
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ tasks.named("test") {
bootBuildImage {
builder = "paketobuildpacks/builder:$buildImageVersion"
runImage = "agrancaric/nrich-run-native:$runImageVersion"
environment = ["BP_NATIVE_IMAGE": "true", "BP_NATIVE_IMAGE_BUILD_ARGUMENTS": "-H:+AddAllCharsets --initialize-at-build-time=org.apache.logging"]
environment = ["BP_NATIVE_IMAGE": "true", "BP_NATIVE_IMAGE_BUILD_ARGUMENTS": "-H:+AddAllCharsets"]
}

graalvmNative {
Expand All @@ -98,8 +98,8 @@ graalvmNative {

hibernate {
enhancement {
lazyInitialization true
dirtyTracking true
associationManagement true
enableLazyInitialization.set(true)
enableDirtyTracking.set(true)
enableAssociationManagement.set(true)
}
}
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
graalBuildToolsPluginVersion=0.9.19
graalBuildToolsPluginVersion=0.9.27
gradleJgitverPluginVersion=0.10.0-rc03
hibernatePluginVersion=6.2.7.Final
springBootVersion=3.1.3
Expand All @@ -10,7 +10,7 @@ buildImageVersion=0.2.304-full
runImageVersion=1.0.0

# aot metadata repository tag see https://github.com/oracle/graalvm-reachability-metadata
metadataRepositoryVersion=0.2.6
metadataRepositoryVersion=0.3.4

# POM metadata
developerEmail=[email protected]
Expand Down

0 comments on commit f1d2f70

Please sign in to comment.