File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
HibernateSpringBootBatchInsertsEntityManager/src/main/java/com/bookstore Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 99@ SpringBootApplication
1010public class MainApplication {
1111
12- private final BookstoreService authorService ;
12+ private final BookstoreService bookstoreService ;
1313
14- public MainApplication (BookstoreService authorService ) {
15- this .authorService = authorService ;
14+ public MainApplication (BookstoreService bookstoreService ) {
15+ this .bookstoreService = bookstoreService ;
1616 }
1717
1818 public static void main (String [] args ) {
@@ -22,7 +22,7 @@ public static void main(String[] args) {
2222 @ Bean
2323 public ApplicationRunner init () {
2424 return args -> {
25- authorService .batchAuthors ();
25+ bookstoreService .batchAuthors ();
2626 };
2727 }
2828}
You can’t perform that action at this time.
0 commit comments