Skip to content

Commit 0d97c14

Browse files
enable h2 console
1 parent ce25586 commit 0d97c14

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/main/java/guru/springframework/spring6webapp/bootstrap/BootstrapData.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ public void run(String... args) throws Exception {
5252

5353
ericSaved.getBooks().add(dddSaved);
5454
rodSaved.getBooks().add(noEJBSaved);
55+
dddSaved.getAuthors().add(ericSaved);
56+
noEJBSaved.getAuthors().add(rodSaved);
57+
5558

5659
Publisher publisher = new Publisher();
5760
publisher.setPublisherName("My Publisher");
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1+
spring.h2.console.enabled=true

0 commit comments

Comments
 (0)