Skip to content

Commit c967b13

Browse files
Dto Via Constructor
1 parent 84acbce commit c967b13

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

HibernateSpringBootDtoConstructor/README.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@
33
**Description:** Fetching more data than needed is prone to performance penalities. Using DTOs allows us to extract only the needed data. In this application we rely on Constructor Expression and JPQL.
44

55
**Key points:**\
6-
- write a proper constructor in the DTO class
6+
- write a proper constructor in the DTO class\
77
- for using Spring Data Projections check this [recipe](https://github.com/AnghelLeonard/Hibernate-SpringBoot/tree/master/HibernateSpringBootDtoViaProjections)
88

9+
**See also:**\
10+
[Dto Via Constructor Expression and JPQL](https://github.com/AnghelLeonard/Hibernate-SpringBoot/tree/master/HibernateSpringBootDtoConstructorExpression)
11+
912
<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)