We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f053b05 commit 9dbb77aCopy full SHA for 9dbb77a
HibernateSpringBootManyToManySetAndOrderBy/src/main/java/com/bookstore/service/BookstoreService.java
@@ -22,6 +22,6 @@ public void fetchAuthorsOfBook() {
22
Book book = bookRepository.findById(1L).orElseThrow();
23
Set<Author> authorsSet = book.getAuthors();
24
25
- System.out.println("Books ordered descending:\n" + authorsSet);
+ System.out.println("Authors ordered descending by name:\n" + authorsSet);
26
}
27
0 commit comments