[go: nahoru, domu]

Skip to content

Commit

Permalink
Update findings about caching
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Raible committed Feb 7, 2022
1 parent 08ab3f8 commit 8393e12
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,12 @@ 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]. Add `@Profile("!native")` to your `CacheConfiguration` class.
. 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
----
. Build with `./mvnw package -Pnative,prod -DskipTests`
Expand Down

0 comments on commit 8393e12

Please sign in to comment.