Introduction to Spring Data JDBC

  Рет қаралды 24,710

Maciej Walkowiak 🍃 Spring Academy

Maciej Walkowiak 🍃 Spring Academy

Күн бұрын

Пікірлер: 52
@hexin1989
@hexin1989 4 жыл бұрын
After 2 year of its existence , i have discovered this YT channel , the one i was missing in the YT.
@SpringAcademy
@SpringAcademy 4 жыл бұрын
Thank you for kind words! Stay tuned for more videos
@igoerche
@igoerche 2 жыл бұрын
Great channel, szanowny pan! Thank you for it! Hope you bring more videos out! dziękuję bardzo :)
@krige
@krige Жыл бұрын
6:17 Is the @Param annotation really needed when the parameter name already matches (like in your case) the one used in the query? In Spring Data JDBC docs it is mentioned "Spring fully supports Java 8’s parameter name discovery based on the -parameters compiler flag. By using this flag in your build as an alternative to debug information, you can omit the @Param annotation for named parameters."
@PartiallyDenominationalGuy
@PartiallyDenominationalGuy 5 жыл бұрын
Miło usłyszeć wreszcie akcent niezbliżony do hinduskiego. Bardzo fajny wstęp do JDBC w Springu ;)
@SpringAcademy
@SpringAcademy 5 жыл бұрын
Dzięki! :)
@m_kundybał
@m_kundybał 2 жыл бұрын
+1
@aleks3954
@aleks3954 6 жыл бұрын
amazing! simple and comprehensible pls create more such tutorials
@SpringAcademy
@SpringAcademy 6 жыл бұрын
Thank you! I'm on it. Do you have any specific topics in mind?
@aleks3954
@aleks3954 6 жыл бұрын
hm, maybe spring batch? for splitting and saving a big amount of data into db
@SpringAcademy
@SpringAcademy 6 жыл бұрын
@@aleks3954 Good idea! I've just put it on my list.
@Minolrx
@Minolrx 2 жыл бұрын
Sir, in the min 8:23 you mention that address must have an ID and that theorically it should work. I agree, even if model is in 3rd normal form. I also recall reading that in a well normalized dbs all entries in all tables should be uniquely identified. Any insight regarding that ?
@motolola
@motolola 6 жыл бұрын
Awesome video, I like the fast and high quality pace .... I am actually just using Spring data JDBC today, after getting used to Hibernate. I do have different entities (User, Company, School etc) that require an Address Entity ... My normal schema design is to have an address_id in those mentioned entities ... in a one-to-one relationship ...but this kind of defeat what I know, maybe I am getting it wrong tho ... I don't want the Address Entity to store any foreign key as the Entities using address may increase.
@SpringAcademy
@SpringAcademy 6 жыл бұрын
Thank you Akinjide! I think the most important question is - is the Address separate aggregate? If not, you can create for each aggregate (User, Company, School) dedicated Address class and table. I know it sounds redundant but thanks to that you have a clear separation between them. If it's too much duplication I think creating one base abstract Address class and one extending class for each entity should also work - something worth trying out.
@videosiddu
@videosiddu 4 жыл бұрын
Thanks for the Awesome Stuff!Thanks for the explaination i was looking for.
@raytech8122
@raytech8122 6 жыл бұрын
Great quality! I'm very intrigued as to your future videos. Do you plan on doing a video/series on an introduction to JDBC and Spring in general? I know a little JDBC and am planning to learn something like Spring as well for Java Web Development. As you can probably tell, I'm just starting out in web development. Just curious as to whether or not you'll be catering videos to beginners like me as well, as what seems to be your target audience: current software developers. Regardless, you have a new subscriber :) Edit: I found you on Reddit today btw
@SpringAcademy
@SpringAcademy 6 жыл бұрын
Thanks a lot! Reading such comments is very motivating. There is a plan to make a series "Spring For Beginners", I have no plans at this stage for videos about plain JDBC as I don't think it's really needed for most developers. As long as you stick to either Spring Data JPA or Spring Data JDBC you don't need to touch too much JDBC API. At this stage target audience is intermediate Java & Spring developers, who know the basics but either need guidance with some topics or just want to stay up to date with changes in the ecosystem. Creating content for beginners is definitely planned - as I can imagine it may be difficult to start and find good quality resources that wouldn't take long hours to watch. Once I gain more experiences in making these videos - mainly I will learn how to make them faster - content for beginners will start to show up :-) Thanks again and at any point your suggestions are always welcome!
@momedalhouma14
@momedalhouma14 6 жыл бұрын
@@SpringAcademy your content is very interesting, unfortunatly it took time to make such videos. I would be glad to buy a complete course from you if you are planing to make one.
@seyedalihejazi4926
@seyedalihejazi4926 5 жыл бұрын
looking forward to more videos. great channel.
@SpringAcademy
@SpringAcademy 5 жыл бұрын
Thank you!
@rexsam3134
@rexsam3134 4 жыл бұрын
Code was not visible. I dont seem to get the JdbcConfiguration imported in the Config file... I am using Spring Boot 2.3.3 with dependencies as 1. Spring Data JDBC 2. Spring Boot Starter Web and 3. Postgresql
@tomaspyth7017
@tomaspyth7017 4 жыл бұрын
Good content, well structured. Thanks for sharing 👍👍 Please consider not accelerating the video sections where you type the code since that is very important for beginners.
@SpringAcademy
@SpringAcademy 4 жыл бұрын
Thanks for feedback. You're right. I'm working now on more beginner friendly content. Stay tuned!
@tomaspyth7017
@tomaspyth7017 4 жыл бұрын
@@SpringAcademy thanks for answering. If you like you could look at the channel from Mosh Hamedani. I find his way for sharing knowledge is very very good and he also reach almost 1M followers in less than 2 or 3 years, i would say mainly because of his way of showing things.. (weniger ist manchmal mehr ;) ) Thanks a lot, you really have the potential to that 👍
@xalfonso85
@xalfonso85 5 жыл бұрын
Excellent! Thanks
@АлексГладун-э5с
@АлексГладун-э5с 6 жыл бұрын
Great quality!
@SpringAcademy
@SpringAcademy 6 жыл бұрын
Thank you! It's also way more work than I initially thought. I have great reviewers that give me few rounds of feedback before I publish any video.
@ArturRoszczyk
@ArturRoszczyk 6 жыл бұрын
I may have missed this while watching briefly your video, but what I am missing is a mention of trade-offs of this solution and some advice, when definitely I should not pick it.
@SpringAcademy
@SpringAcademy 6 жыл бұрын
Thanks for feedback! This is probably good idea for part 2. Main trade-offs are missing features that may be essential for your use case - built in support for paging and sorting, compound keys, mapping of primitive collections. Framework is in it's early days under active development so I am sure relatively soon these drawbacks won't be there anymore. The benefit is clarity and simplicity that may be underrated for someone who didn't struggle enough with JPA.
@yuanbohan
@yuanbohan 6 жыл бұрын
great! thanks for your video.
@SpringAcademy
@SpringAcademy 6 жыл бұрын
Thank you! :-)
@maheshmote7
@maheshmote7 6 жыл бұрын
Great content. I've subscribed. Looking for new videos. I want to say thanks in advance.
@SpringAcademy
@SpringAcademy 6 жыл бұрын
Thanks! New content every Monday 9am Berlin time :)
@AmNotLegend
@AmNotLegend Жыл бұрын
is it possible Spring data jdbc without using the rest of Spring framework
@abdelrahman2348
@abdelrahman2348 5 жыл бұрын
Will you do spring boot tutorial ?
@SpringAcademy
@SpringAcademy 5 жыл бұрын
There is a plan for Spring Boot course - but it's very time consuming, so I wouldn't ask you to wait for that..
@SergiiStarodubtsev
@SergiiStarodubtsev 5 жыл бұрын
not sure how repository gets injected. i got ban not found. i see no any @Inject or @Autowire or @Repository / @Component in your example.
@sriontube
@sriontube 6 жыл бұрын
sorry for the offtopic, but what is best screen recording software to record on mac.
@SpringAcademy
@SpringAcademy 6 жыл бұрын
I use Screenflow and I'm quite happy with it. Check this podcast syntax.fm/show/037/recording-screencasts-hardware-software-dos-and-don-ts
@MarkMcLaren
@MarkMcLaren 5 жыл бұрын
So the percentages in that graph add up to 142%. What is happening there?
@MarkMcLaren
@MarkMcLaren 5 жыл бұрын
"(Developers could choose more than one answer, so totals do not equal 100%)"
@KangoV
@KangoV 5 жыл бұрын
Could also try Micronaut Data JDBC. Generates the queries at compile time :) No reflection at runtime. Annotation processing ftw!
@SpringAcademy
@SpringAcademy 5 жыл бұрын
Thanks for hint! Indeed I want to give closer look to Micronaut later this year
@MackaBaer
@MackaBaer 4 жыл бұрын
Hi, maybe if you have time i would be very interested on your opinion on quarkus. great channel btw :)
@SpringAcademy
@SpringAcademy 4 жыл бұрын
Quarkus is promising, I am watching it but not used it in production yet.
@jitendra.pradhan
@jitendra.pradhan 5 жыл бұрын
Hi sir , I'm jit from India Can u make a video for mongoDB with spring boot
@GAVVVR
@GAVVVR 5 жыл бұрын
Subscribed!
@thyagtubes
@thyagtubes 5 жыл бұрын
Dreams by Joakim Karud!
@SpringAcademy
@SpringAcademy 5 жыл бұрын
🙂
@hophfg
@hophfg 4 жыл бұрын
I posted the example source code on my Github. Check it out. github.com/jypthemiracle/java-practice/tree/master/jdbcpractice
Spring Data JDBC - One to One & One to Many Relationships
10:20
Maciej Walkowiak 🍃 Spring Academy
Рет қаралды 21 М.
小丑教训坏蛋 #小丑 #天使 #shorts
00:49
好人小丑
Рет қаралды 54 МЛН
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 17 МЛН
Domain-Driven Design with Relational Databases Using Spring Data JDBC
1:10:30
Spring Data JPA: What is it? And Why Should You Use It?
10:37
Thorben Janssen
Рет қаралды 71 М.
Spring Data JPA from 0-100 in 60 minutes
1:02:31
VMware Tanzu
Рет қаралды 82 М.
Spring Boot Tutorial | Full Course [2023] [NEW]
1:37:31
Amigoscode
Рет қаралды 2,9 МЛН
🍃 Introduction to Spring GraphQL with Spring Boot
19:14
Maciej Walkowiak 🍃 Spring Academy
Рет қаралды 63 М.
The New Kid on the Block: Spring Data JDBC
1:04:53
SpringDeveloper
Рет қаралды 27 М.
Spring Data JDBC: Beyond the Obvious
52:40
SpringDeveloper
Рет қаралды 17 М.
🚀  New in Spring Framework 6: HTTP Interfaces
11:33
Maciej Walkowiak 🍃 Spring Academy
Рет қаралды 52 М.