[go: nahoru, domu]

Skip to content

Commit

Permalink
Update caching workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Raible committed Feb 7, 2022
1 parent 8393e12 commit 89745c5
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -257,12 +257,7 @@ public ResponseEntity<?> logout(HttpServletRequest request, @AuthenticationPrinc
OidcIdToken idToken = oidcUser.getIdToken();
----
. Caching is https://github.com/spring-projects-experimental/spring-native/issues/465[not supported yet]. Comment out the annotations at the top of your `CacheConfiguration` class. Disable Hibernate's 2nd level cache in `application.yml` too.
+
[source,yaml]
----
hibernate.cache.use_second_level_cache: false
----
. Caching is https://github.com/spring-projects-experimental/spring-native/issues/465[not supported yet]. The only workaround I've found so far is to re-generate your app with `"cacheProvider": "no"` in your `.yo-rc.json`.
. Build with `./mvnw package -Pnative,prod -DskipTests`
Expand Down

0 comments on commit 89745c5

Please sign in to comment.