Skip to content

Commit 1cdf7f7

Browse files
Slice<entity> and Slice<dto> via fetchAll()
1 parent 3c949c3 commit 1cdf7f7

File tree

1 file changed

+10
-3
lines changed
  • HibernateSpringBootSliceAllViaFetchAll

1 file changed

+10
-3
lines changed

HibernateSpringBootSliceAllViaFetchAll/README.md

+10-3
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,14 @@ The trick is to simply define a method named `fetchAll()` that uses JPQL and `P
1414
&nbsp;&nbsp;&nbsp;&nbsp;`return authorRepository.fetchAllDto(PageRequest.of(page, size, new Sort(Sort.Direction.ASC, "age")));`\
1515
`}`
1616

17-
-------------------------------
17+
-----------------------------------------------------------------------------------------------------------------------
18+
<table>
19+
<tr><td><b>If you need a deep dive into the performance recipes exposed in this repository then I am sure that you will love my book "Spring Boot Persistence Best Practices"</b></td><td><b>If you need a hand of tips and illustrations of 100+ Java persistence performance issues then "Java Persistence Performance Illustrated Guide" is for you.</b></td></tr>
20+
<tr><td>
21+
<a href="https://www.apress.com/us/book/9781484256251"><p align="left"><img src="https://github.com/AnghelLeonard/Hibernate-SpringBoot/blob/master/Spring%20Boot%20Persistence%20Best%20Practices.jpg" height="500" width="450"/></p></a>
22+
</td><td>
23+
<a href="https://leanpub.com/java-persistence-performance-illustrated-guide"><p align="right"><img src="https://github.com/AnghelLeonard/Hibernate-SpringBoot/blob/master/Java%20Persistence%20Performance%20Illustrated%20Guide.jpg" height="500" width="450"/></p></a>
24+
</td></tr></table>
25+
26+
-----------------------------------------------------------------------------------------------------------------------
1827

19-
**You may like to try as well:**
20-
<a href="https://leanpub.com/java-persistence-performance-illustrated-guide"><p align="center"><img src="https://github.com/AnghelLeonard/Hibernate-SpringBoot/blob/master/Java%20Persistence%20Performance%20Illustrated%20Guide.jpg" height="410" width="350"/></p></a>

0 commit comments

Comments
 (0)