diff --git a/bookstore/src/main/java/com/fjordtek/bookstore/web/BookBasePathAwareController.java b/bookstore/src/main/java/com/fjordtek/bookstore/web/BookBasePathAwareController.java index cbf60db..af5c87a 100644 --- a/bookstore/src/main/java/com/fjordtek/bookstore/web/BookBasePathAwareController.java +++ b/bookstore/src/main/java/com/fjordtek/bookstore/web/BookBasePathAwareController.java @@ -123,6 +123,13 @@ public class BookBasePathAwareController { * In real life, this must never be a case! * Instead, we should have a proper admin-only * configuration panel where to set these values. + * + * On SQL server, consider adding the following + * configuration: + * + * ALTER TABLE BOOK MAX_ROWS=; + * + * See also: https://dev.mysql.com/doc/refman/5.7/en/table-size-limit.html */ if (webRestrictions.limitBookMaxCount("prod")) { return new ResponseEntity<>(HttpStatus.BAD_REQUEST); diff --git a/bookstore/src/main/java/com/fjordtek/bookstore/web/BookController.java b/bookstore/src/main/java/com/fjordtek/bookstore/web/BookController.java index 04fa155..6069a06 100644 --- a/bookstore/src/main/java/com/fjordtek/bookstore/web/BookController.java +++ b/bookstore/src/main/java/com/fjordtek/bookstore/web/BookController.java @@ -209,6 +209,13 @@ public class BookController { * In real life, this must never be a case! * Instead, we should have a proper admin-only * configuration panel where to set these values. + * + * On SQL server, consider adding the following + * configuration: + * + * ALTER TABLE BOOK MAX_ROWS=; + * + * See also: https://dev.mysql.com/doc/refman/5.7/en/table-size-limit.html */ if (webRestrictions.limitBookMaxCount("prod")) { redirectAttributes.addFlashAttribute(