|
@ -161,7 +161,7 @@ public class BookstoreApplication extends SpringBootServletInitializer { |
|
|
"1231231-12", |
|
|
"1231231-12", |
|
|
new BigDecimal("18.00"), |
|
|
new BigDecimal("18.00"), |
|
|
categoryRepository.findByName("Horror").get(0), |
|
|
categoryRepository.findByName("Horror").get(0), |
|
|
1 |
|
|
|
|
|
|
|
|
true |
|
|
); |
|
|
); |
|
|
|
|
|
|
|
|
Book bookB = new Book( |
|
|
Book bookB = new Book( |
|
@ -173,7 +173,7 @@ public class BookstoreApplication extends SpringBootServletInitializer { |
|
|
"3213221-3", |
|
|
"3213221-3", |
|
|
new BigDecimal("19.99"), |
|
|
new BigDecimal("19.99"), |
|
|
categoryRepository.findByName("Fantasy").get(0), |
|
|
categoryRepository.findByName("Fantasy").get(0), |
|
|
1 |
|
|
|
|
|
|
|
|
true |
|
|
); |
|
|
); |
|
|
|
|
|
|
|
|
commonLogger.info("Add new sample books to the database"); |
|
|
commonLogger.info("Add new sample books to the database"); |
|
|