Spring Data JPA from 0-100 in 60 minutes
Вставка
- Опубліковано 15 жов 2019
- JPA is the most popular persistence technology for JAVA. In this talk, we’ll look into how it works and how it integrates with Spring by means of Spring Data JPA. We’ll look at the various ways one may use Spring Data from ready-made queries over query derivation, query by example, specifications, paging and sorting to custom method implementations.
We’ll also take a look at common pitfalls of JPA and how to circumvent them. And if time is left we’ll take a glance at other technologies available to Java developers to complement JPA and how these integrate with Spring Data.
Participants will learn to distinguish between JPA and Spring Data JPA, the various features Spring Data JPA offers and when to use which feature to achieve their goal.
Speaker: Jens Schauder, Staff Software Engineer, Pivotal
Filmed at SpringOne Platform 2019
Slides: www.slideshare.net/Pivotal/sp... - Наука та технологія
03:56 Spring Data JPA build on JPA
19:16 What does Spring Data JPA do for you?
- 20:01 CRUD
- 22:47 Query Derivation
- 27:38 Pagination
- 31:12 Projections
35:36 Conversions
- 36:33 Query By Example
- 39:37 Specifications
- 42:12 Querydsl Support
44:33 What is Spring Data JDBC?
45:29 What if something breaks?
This is just gold. This is all you need to know about JPA and Spring Data JPA.
The talk is soo good that it reveals the ugly sides of Spring Data JPA. It introduces so many new concepts that have their own learning curve. We decided to stick with Spring Data JPA for the design and use the good old enitytmanager for jpa queries.
That was a really good talk. Thanks
i wish all talks were like this
Great talk!
Genial video, entendí que se puede hacer y que no y como hacerlo mejor.
Gracias
Is that Seek Method pagination? Paging by the offset on criteria rather than index which is represented by an ordinal numbers.
Entities will be loaded and they will be in a persistence context (First level cache). These can be manipulated without hitting the DB. When the transaction ends, JPA makes sure all the changes are flushed to DB.
Awesome
can anyone explain me at 40:48 mins in that video
Thank you so much!
I know Symfony framework and switching to Spring is fairly simple. I think both are inspired by the same architecture.
Spring is application of POJO model, which is like Clean Architecture :))
bald german with earring. i never saw that before
First 20 mins spent to convince that you dont know JPA. Other 40 mins speaker explains to himself what does he know about JPA. Absolutely not for beginners
Excellent Talk this !
Excellent Talk that ! 😂😂😂