Spring Boot 3.2's Secret Weapon: Auto-Configured JDBC Client for Effortless Database Integration!

  Рет қаралды 13,893

Dan Vega

Dan Vega

8 ай бұрын

Welcome to the future of database integration with Spring Boot! The latest release, Spring Boot 3.2, brings forth a powerful new feature that's set to redefine how we interact with databases: the Auto-Configured JDBC Client. Gone are the days of tedious configurations and lengthy setup processes.
With this secret weapon in your arsenal, you can now effortlessly connect, read, and persist data to your database, all within the familiar Spring ecosystem. Whether you're a seasoned developer or just starting out, this JDBC Client promises a streamlined experience, ensuring your projects are not only efficient but also scalable.
🔗Resources & Links mentioned in this video:
GitHub Repo: github.com/danvega/jdbc-client
Rest Client: www.danvega.dev/blog/2023/09/...
👋🏻Connect with me:
Website: www.danvega.dev
Twitter: / therealdanvega
Github: github.com/danvega
LinkedIn: / danvega
Newsletter: www.danvega.dev/newsletter
SUBSCRIBE TO MY CHANNEL: bit.ly/2re4GH0 ❤️

Пікірлер: 41
@karter_devolidad
@karter_devolidad 8 ай бұрын
This is the amount of abstraction I was hoping spring would provide for JDBC. Glad it made the cut!
@vitaliiplagov
@vitaliiplagov 8 ай бұрын
Fantastic! In our project, we have an internal library for working with JDBC that provides wrappers around jdbcTemplate, like `tryOne()`, `update()`, `list()`, etc. I think, once Spring Boot 3.2 is released, I will replace our custom code with Spring Boot built-in support. There will be less code to maintain and understand! Thanks for the video, Dan!
@husane2161
@husane2161 8 ай бұрын
Dan, See you reppin' the Browns! Nice dub yesterday! Thank you for your content, love all your videos!
@philipschikora20
@philipschikora20 8 ай бұрын
nice! 3.2 is going to be such a cool release!
@kostiantynkarzhanov9216
@kostiantynkarzhanov9216 3 ай бұрын
Thank you! Great tutorial! Awesome channel! 💛
@Cashylein
@Cashylein Ай бұрын
Thank you!
@kaly7dev4873
@kaly7dev4873 8 ай бұрын
Nice topic thanks !
@AleksandarT10
@AleksandarT10 8 ай бұрын
Great topic. It seems to be pretty clean. Hopefully the mappings work out as aspected (because jdbcTemplate rowMappers were strange for some null fields :) )
@hamzahayd6751
@hamzahayd6751 3 ай бұрын
Pretty neat. Almost feels like Jooq ;)
@maxd7228
@maxd7228 8 ай бұрын
Hey Dan, Can you do a video on Spring Modulith project?
@gasparcalix2095
@gasparcalix2095 8 ай бұрын
Just grate!
@konstantingromov6485
@konstantingromov6485 8 ай бұрын
It's really awesome to have fluent DSL clients instead of classes bloated by overloaded methods. I was really waiting for RestTemplate replacement and finally it happened (hopefully it will be deprecated and removed soon). With JdbcClient I would probably go further - to extend with select/create/delete/update - to make similar to JOOQ API.
@sylvereleipertz955
@sylvereleipertz955 8 ай бұрын
You don't need the Qualifer annotation if you name your parameter just like your class. Spring boot will find out automatically which implementation of the interface you're asking for
@FredrikRambris
@FredrikRambris 8 ай бұрын
What about getting generated keys? The KeyHolder in JdbcTemplate was weird. Even weirder in the DatabaseClient in r2dbc
@poorneshm.m4494
@poorneshm.m4494 4 ай бұрын
Hi Dan,how to use PreparedStatement in three JDBC Client or it internally uses it?Thank you in advance
@FilipCodes
@FilipCodes 8 ай бұрын
20:21 how do you get such nice json formatting? Is it some chrome extension?
@lukamaletic9557
@lukamaletic9557 8 ай бұрын
JSON formatter for chrome
@reflection648
@reflection648 7 ай бұрын
which plugin you have used for templates
@minarashidi868
@minarashidi868 5 ай бұрын
Could you elaborate on the difference between spring-data-jdbc and JDBC client? Which one do you recommend?
@JamesStansell
@JamesStansell 8 ай бұрын
Wondering if this might be useful with a database that is set up to be accessed issuing stored procedures? Switching the legacy access to jdbc template and row mappers was prohibitive.
@bradenborman4396
@bradenborman4396 4 ай бұрын
How does it handle mapping enums on the record?
@michelchaghoury9629
@michelchaghoury9629 7 ай бұрын
@Dan Vega what if in the select clause we have a column named f_name and in the java class it is defined as firstName how can we map column to properties?
@akhill357
@akhill357 5 ай бұрын
what buttons are you using to get post-schema etc. templates in intellij
@Varkon
@Varkon 8 ай бұрын
Doesn't Quarkus already have such a (or similar) feature?
@sagarbhat1
@sagarbhat1 8 ай бұрын
Just wondering, why would anyone choose JDBC template or the new JDBC client over Spring Data JPA?
@sagarbhat1
@sagarbhat1 8 ай бұрын
Are there any use cases where JDBC template or the new JDBC client would be more useful or preferable than Spring Data JPA?
@syednoorullahshah9194
@syednoorullahshah9194 6 ай бұрын
@@sagarbhat1 I have such a case. I have a spring boot app that needs to connect to IBM's Netezza Data warehouse. Netezza has its own jdbc driver and since Hibernate or spring data JPA do not support Netezza. I'm currently looking for an alternative approach (i.e. better than the raw jdbc one).
@robtai6225
@robtai6225 8 ай бұрын
dan, can you make an introductory video on spring boot 3.0 for noobs?
@DanVega
@DanVega 8 ай бұрын
I certainly can... What would you like the video to be focused on? What's new in Spring? What are you trying to build with it?
@hkkabir2024
@hkkabir2024 7 ай бұрын
the question is why i use jdbc even jdbc template when i have JPA????????
@diegoshevek5927
@diegoshevek5927 5 ай бұрын
The more question marks you add, the better the question is
@hkkabir2024
@hkkabir2024 5 ай бұрын
@@diegoshevek5927 it's beyond my mind. would you like to tell me the answer in appropriate topic ?
@gallardofabian
@gallardofabian 8 ай бұрын
thanks great videos, I only suggest a litte more zoom in the videos if you can. Have a god day
@DanVega
@DanVega 8 ай бұрын
Zoom on the code?
@gallardofabian
@gallardofabian 8 ай бұрын
@@DanVega yes thanks :)
@lukamaletic9557
@lukamaletic9557 8 ай бұрын
It is pretty visible, and much better this way if you ask me as we see more code and if the quality of the video is fine, there are no issues with reading.
@joachimdietl6737
@joachimdietl6737 8 ай бұрын
Why would you do that instead of using JPA?
@ocleidyreve6361
@ocleidyreve6361 8 ай бұрын
If you are working on an old codebase with raw jdbc ResultSet. The migration will be smoother, the team will avoid shooting itself in the foot with JPA/Hibernate, and the performance will be preserved.
@joachimdietl6737
@joachimdietl6737 8 ай бұрын
@@ocleidyreve6361 yes with an old codebase you have a lot to do, but i am wondering for new projects, it does not make a sense
@Gabriel-ts9nl
@Gabriel-ts9nl 8 ай бұрын
🤤 "Promosm"
ШЕЛБИЛАР | bayGUYS
24:45
bayGUYS
Рет қаралды 685 М.
The World's Fastest Cleaners
00:35
MrBeast
Рет қаралды 177 МЛН
The Noodle Stamp Secret 😱 #shorts
00:30
Mr DegrEE
Рет қаралды 65 МЛН
NO NO NO YES! (50 MLN SUBSCRIBERS CHALLENGE!) #shorts
00:26
PANDA BOI
Рет қаралды 95 МЛН
Spring Boot APIs Gateway in 20 Minutes
22:50
The IT Wizard
Рет қаралды 6 М.
5 Common Mistakes Spring Developers Make
18:06
Dan Vega
Рет қаралды 14 М.
Vortex Cannon vs Drone
20:44
Mark Rober
Рет қаралды 14 МЛН
Переходник для IPhone • 181649538                         Делюсь обзорами в профиле @lykofandrei
0:15
С Какой Высоты Разобьётся NOKIA3310 ?!😳
0:43
Carregando telefone com carregador cortado
1:01
Andcarli
Рет қаралды 1,4 МЛН
НЕ ПОКУПАЙ iPad Pro
13:46
itpedia
Рет қаралды 402 М.