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."
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 ?
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.
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.
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
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 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 👍
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
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!
@@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.
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.
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.
After 2 year of its existence , i have discovered this YT channel , the one i was missing in the YT.
Thank you for kind words! Stay tuned for more videos
Great channel, szanowny pan! Thank you for it! Hope you bring more videos out! dziękuję bardzo :)
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."
Miło usłyszeć wreszcie akcent niezbliżony do hinduskiego. Bardzo fajny wstęp do JDBC w Springu ;)
Dzięki! :)
+1
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 ?
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.
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.
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
amazing!
simple and comprehensible
pls create more such tutorials
Thank you! I'm on it. Do you have any specific topics in mind?
hm, maybe spring batch? for splitting and saving a big amount of data into db
@@aleks3954 Good idea! I've just put it on my list.
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.
Thanks for feedback. You're right. I'm working now on more beginner friendly content. Stay tuned!
@@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 👍
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
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!
@@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.
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.
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.
is it possible Spring data jdbc without using the rest of Spring framework
Great quality!
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.
Great content. I've subscribed. Looking for new videos. I want to say thanks in advance.
Thanks! New content every Monday 9am Berlin time :)
looking forward to more videos. great channel.
Thank you!
not sure how repository gets injected. i got ban not found. i see no any @Inject or @Autowire or @Repository / @Component in your example.
Thanks for the Awesome Stuff!Thanks for the explaination i was looking for.
Excellent! Thanks
Could also try Micronaut Data JDBC. Generates the queries at compile time :) No reflection at runtime. Annotation processing ftw!
Thanks for hint! Indeed I want to give closer look to Micronaut later this year
sorry for the offtopic, but what is best screen recording software to record on mac.
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
Hi sir ,
I'm jit from India
Can u make a video for mongoDB with spring boot
Hi, maybe if you have time i would be very interested on your opinion on quarkus. great channel btw :)
Quarkus is promising, I am watching it but not used it in production yet.
great! thanks for your video.
Thank you! :-)
So the percentages in that graph add up to 142%. What is happening there?
"(Developers could choose more than
one answer, so totals do not equal 100%)"
Will you do spring boot tutorial ?
There is a plan for Spring Boot course - but it's very time consuming, so I wouldn't ask you to wait for that..
Subscribed!
Dreams by Joakim Karud!
🙂
I posted the example source code on my Github. Check it out. github.com/jypthemiracle/java-practice/tree/master/jdbcpractice