Spring Data JPA: Query Projections

Thorben Janssen
Thorben Janssen
19.1 هزار بار بازدید - 4 سال پیش - The Projection is one of
The Projection is one of the first things you’re probably thinking about when implementing a query with Spring Data JPA. This is because projection defines the entity attributes and the database columns returned by your query. So, selecting the right columns is important for your business logic. At the same time, projection is also crucial for the performance of your application and the maintainability of your code. In addition, you need to choose a projection that keeps the overhead as low as possible and provides the data in an easy to use structure. In this video, I will show you all the query projections supported by Spring Data JPA and which one you should use. Links mentioned: Entities or DTOs – When should you use which projection? : thorben-janssen.com/entities-dtos-use-projection/ Like my channel? Subscribe! ➜ bit.ly/2cUsid8 Join the free Member Library: goo.gl/dtyIIC Read the accompanying post: thorben-janssen.com/spring-data-jpa-query-projecti… Want to connect with me? Blog: thorben-janssen.com/ Twitter: twitter.com/thjanssen123 Facebook: www.facebook.com/thoughtsonjava #Spring #JPA #Query #Projections
4 سال پیش در تاریخ 1399/06/13 منتشر شده است.
19,172 بـار بازدید شده
... بیشتر