Skip to content

Commit

Permalink
disable fail_on_pagination_over_collection_fetch
Browse files Browse the repository at this point in the history
  • Loading branch information
dmytropolityka committed Jun 10, 2024
1 parent 5045e5c commit 1b4018a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/resources/config/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ spring:
hibernate.generate_statistics: false
hibernate.order_inserts: true
hibernate.order_updates: true
hibernate.query.fail_on_pagination_over_collection_fetch: true # prevents issues, see https://vladmihalcea.com/hibernate-query-fail-on-pagination-over-collection-fetch
hibernate.query.fail_on_pagination_over_collection_fetch: false # prevents issues, see https://vladmihalcea.com/hibernate-query-fail-on-pagination-over-collection-fetch
hibernate.query.in_clause_parameter_padding: true
hibernate.cache.use_second_level_cache: true
hibernate.cache.use_query_cache: false
Expand Down
2 changes: 1 addition & 1 deletion src/test/resources/config/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ spring:
hibernate.generate_statistics: false
hibernate.order_inserts: true
hibernate.order_updates: true
hibernate.query.fail_on_pagination_over_collection_fetch: true # prevents issues, see https://vladmihalcea.com/hibernate-query-fail-on-pagination-over-collection-fetch
hibernate.query.fail_on_pagination_over_collection_fetch: false # prevents issues, see https://vladmihalcea.com/hibernate-query-fail-on-pagination-over-collection-fetch
hibernate.query.in_clause_parameter_padding: true
hibernate.cache.use_second_level_cache: true
hibernate.cache.use_query_cache: false
Expand Down

0 comments on commit 1b4018a

Please sign in to comment.