Skip to content

Commit d2326c9

Browse files
Dto Via Constructor
1 parent 9cf125a commit d2326c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

HibernateSpringBootDtoConstructor/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
**[DTOs Via Constructor And Spring Data Query Builder Mechanism](https://github.com/AnghelLeonard/Hibernate-SpringBoot/tree/master/HibernateSpringBootDtoConstructor)**
22

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.
4-
4+
55
**Key points:**\
66
- write a proper constructor in the DTO class\
77
- rely on Spring Data Query Builder Mechanism for expression the SQL\

0 commit comments

Comments
 (0)