Build faster persistence layers with Spring Data JPA 3 by Thorben Janssen @ Spring I/O 2024

  Рет қаралды 19,760

Spring I/O

Spring I/O

Күн бұрын

Пікірлер: 35
@yadigarcaliskan6453
@yadigarcaliskan6453 4 ай бұрын
All those recommendations are clear to everyone who has two years of programming experience
@serrrsch
@serrrsch 4 ай бұрын
weird flex
@linhvudev
@linhvudev 5 ай бұрын
Thank you for your talk! As usual, it convinced me get rid of JPA/Hibernate again and again. After every talk about JPA, I hate my laziness because of not switching to another, I realize I only use JPA for 'create' because I'm lazy at making a insert statement at the beginning, for others like 'update', 'delete', and especially 'read', I always have to use specific @Query instead to bypass JPA drawbacks.
@praveens2272
@praveens2272 5 ай бұрын
JPA is good for giving demos with CRUD operations, it will suck in production.
@sarkar_957
@sarkar_957 5 ай бұрын
Then what you suggest to use instead of JPA? ​@@praveens2272
@dominikvonlavante6113
@dominikvonlavante6113 5 ай бұрын
Why are you even using an ORM when you are not using it as an ORM?! Serious skill issues here. I love Spring JPA, and I build custom query languages with it with the stroke of a brush. But you do have to be aware of how data bases work, how to build good schemas and how to query efficiently. Besides obviously learning how JPA/Hibernate works under the hood.
@avalagum7957
@avalagum7957 5 ай бұрын
That hibernate session metrics are very useful. This talk is very good.
@jesprotech
@jesprotech 5 ай бұрын
That part about the interface projections is very very interesting. Great session and really worth watching if one is used to working with the JPA. Especially when finding limitations to what we are doing.
@움키-t8j
@움키-t8j 5 ай бұрын
31:38 In what cases do you use interface in projections? What are the advantages over dto, record?
@CheeseStickzZ
@CheeseStickzZ 5 ай бұрын
There is no advantage, same thing. Use whatever you feel like
@sagarrout007
@sagarrout007 5 ай бұрын
Hi @Thorben, Thanks for the session. It was quite insightful.
@FiruzzZ-777
@FiruzzZ-777 Ай бұрын
you can't replace List to Set on most cases, if u are going to persist on cascade that collection too AND the IDs (used by equals to determinate uniqueness) of those elements are still null. Like items.add(new OrderItem(null, product, quantity, price)), when you try to add the second will fail
@ferlezcano
@ferlezcano 5 ай бұрын
Thorben must wear his white t-shirt + sky blue shirt whenever he talks about Hibernate. Excellent content as always, by the way. I have learnt so much with him over the years 💪
@Mrhennayo
@Mrhennayo 5 ай бұрын
Frankly I will use jpa as simple selects for smaller projects elsewhere pure jdbc does the job or plsql
@blonditbg15
@blonditbg15 5 ай бұрын
My recommendation would be to not use JPA at all, the fact that you need to know all that stuff to not hurt yourself due to incorrect framework usage (not even talking about DB performance issues) looks like a bad thing to begin with. Simpler tools like jooq seem to be better ?
@hardcorecode
@hardcorecode 5 ай бұрын
jooq is not code first. it requires a database schema to already exist! that's why it's simpler! JOOQ and JPA are two completely diferent things!
@rodjenihm
@rodjenihm 5 ай бұрын
@@hardcorecode If we are being honest, in pretty much any production system you will never let Hibernate generate the database for you and instead use Flyway or Liquibase to generate the database. So I don't think that's a bad thing.
@hardcorecode
@hardcorecode 5 ай бұрын
@@rodjenihm true! what about developement! Nobody is going to let you touch there production database!! So how would you use JOOQ then?
@onee1594
@onee1594 5 ай бұрын
Why not use Golang then? That's even more abstract layers off
@blonditbg15
@blonditbg15 5 ай бұрын
@@hardcorecode try jooq for yourself
@MrMikomi
@MrMikomi 26 күн бұрын
Nice, thanks.
@vrjb100
@vrjb100 Ай бұрын
Write high speed code, then you won't need caching. Wrting code that deals with caching slows down your program. Caching always causes problems.
@m77mo65
@m77mo65 5 ай бұрын
Give me one reason ( besides query+ db ) to use jpa. Im just asking
@JoeBrigAI
@JoeBrigAI 5 ай бұрын
Optimistic locking
@FiruzzZ-777
@FiruzzZ-777 Ай бұрын
Pessimistic locking, versioning field/attribute, boosting start up on every project
@hasan0770816268
@hasan0770816268 3 ай бұрын
That remove example was bonkers! using lists should not have that much of a performance penalty!
Bootiful Spring Boot 3.x by Josh Long @ Spring I/O 2024
54:26
Spring I/O
Рет қаралды 31 М.
What type of pedestrian are you?😄 #tiktok #elsarca
00:28
Elsa Arca
Рет қаралды 35 МЛН
This Game Is Wild...
00:19
MrBeast
Рет қаралды 181 МЛН
FOREVER BUNNY
00:14
Natan por Aí
Рет қаралды 30 МЛН