Skip to content

Commit

Permalink
avoid the warning to set open-in-view=true explicitly
Browse files Browse the repository at this point in the history
  • Loading branch information
nmandrescu committed May 31, 2021
1 parent d98b37d commit 799e03e
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ spring.jpa.hibernate.cache.use_query_cache=true
spring.jpa.properties.hibernate.cache.use_second_level_cache=true
spring.servlet.multipart.enabled = false

# setting explicitly to true (same as the default) to avoid startup warning that "database queries may be performed during view rendering"
spring.jpa.open-in-view=true

#enable modified flag for envers, to track field-level modifications
spring.jpa.properties.org.hibernate.envers.global_with_modified_flag=true

Expand Down

0 comments on commit 799e03e

Please sign in to comment.