What is the difference between JDBC Client and Spring Data JDBC?

preview_player
Показать описание
I was asked by a subscriber on my YouTube channel "What is the difference between the new JDBC Client in Spring Boot 3.2 and Spring Data JDBC"? I thought that was a great question and decided to make a video addressing that question. In this tutorial we explore the various ways we can communicate with a database in Java & Spring.

🔗Resources & Links mentioned in this video:

👋🏻Connect with me:

Рекомендации по теме
Комментарии
Автор

Wow, that's badass! I'm maintaining a very large and old Java 8/Spring Framework 3.x application, so I'm still using Spring JDBC Templates. These new ways of handling CRUD feel like the holy grail. The best part is that there's no JPA and Hibernate (I hate the way Hibernate constructs the most sub-optimal queries). I can't wait to port our current app over to Java 21 and Spring Boot 3, so I can focus much more single-mindedly on business logic. Thanks very much, Dan. You have a new subscriber as of 2 days ago.

lifeisbetterwhenyourelax
Автор

This video is awesome, Dan! Short, concise and clear! I have been using Spring on and off over the last 5 years. It's the first time I have understood the different levels of abstraction that Spring provides over native Java. Keep up the great work. I will definitely be watching more of these videos 😁

rguy
Автор

Hey Dan what a great video, as a person who doesn't like ORM, I would stop at JDBCClient, I found the Repository has lots of magic to it, but you have shown me the ways to do handle SQL between spring and db that's wonderful! thank you!

loyyeeko
Автор

Great job, Dan! Miss seeing you teach!

FrankGinzo
Автор

Hi, Dan, thanks so much for this video. I happened upon it on FB and the timing couldn't be better. I have a general comment. You are using lots of keyboard shortcuts that I would love to learn (as I use IJ too). It would really be helpful if you used a key stroke display tool. KeyCastr is one example. I don't think it would detract from the main point of your videos, and some of us could learn a lot of additional steps. Thanks for considering this idea.

sarahkelly
Автор

Started watching ur videos. Its more informative. From Chennai, Tamil Nadu, India

Isranaks
Автор

Hello Dan! What about a tutorial with one-to-many relatioship(s) with spring-data-jdbc?

kyriakosmandalas
Автор

Excellent video Dan, really appreciate it.

I was wondering which one of them is volume friendly when dealing with lots of records.

crillin
Автор

Cool breakdown, I've used all of them professionally before

saganawski
Автор

Hello Dan. Great content as always. I will be appreciate if you could create video about spring boot with kafka. Thank you in advance 😉

marcinjozwiak
Автор

So what is the difference between Spring Data JDBC and Spring Data JPA in this example?) In what cases the second would be preferable?

brgtxuj
Автор

Jdbc client is incredible, is very easy to work

marcosgarcia
Автор

wonderful video!!!
Hwhat font do you use in intellij to recreate the arrow symbol in lambda functions, btw?
Thanks a lot!!!

JaimeReyCasadoMonokepos
Автор

Hello @dan vega, how to invoke oracle stored procedures through jdbcclient with in and out params

Isranaks
Автор

Which database you're using for production grade application MySQL or postgresql

Harsh-fdml
Автор

Hi, to fetch 1000 records from oracle db it is taking more than 15 seconds. is there any way to fetch data fater from srpingboot application

hemanth
Автор

Yep.. I cleared java professional developer certification, I am clearing Spring Developers certification, after I will specialize myself in Vaadin with Vaadin developer certification

petroniobonavides
Автор

What´s the Spring Data JDBC alternative for Spring Data JPA @EntityListeners? I need to encrypt password when persist data to db and decrypt password when fetch data from database.

drakenra
Автор

Great video as always Dan! I was wondering why would someone want to use JDBC client instead of Spring Data JDBC or Spring Data JPA? When it comes to integration with a database, then aren't the Spring Data projects much more useful than JDBC client?

sagarbhat
Автор

I am just wondering @6:31 how does the insert works when the ID is defined as varchar but you enter it as integer value = 1?

VLADICAKG