Introduction to Spring Data JDBC

Поделиться
HTML-код
  • Опубликовано: 2 ноя 2024

Комментарии • 52

  • @hexin1989
    @hexin1989 4 года назад +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 года назад +1

    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 лет назад +1

    Miło usłyszeć wreszcie akcent niezbliżony do hinduskiego. Bardzo fajny wstęp do JDBC w Springu ;)

  • @minor12828
    @minor12828 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 5 лет назад +1

    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  5 лет назад +2

      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.

  • @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

  • @aleks3954
    @aleks3954 6 лет назад +2

    amazing!
    simple and comprehensible
    pls create more such tutorials

    • @SpringAcademy
      @SpringAcademy  6 лет назад +1

      Thank you! I'm on it. Do you have any specific topics in mind?

    • @aleks3954
      @aleks3954 6 лет назад +1

      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.

  • @tomaspyth7017
    @tomaspyth7017 4 года назад +3

    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 года назад +1

      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 👍

  • @raytech8122
    @raytech8122 6 лет назад +1

    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 лет назад +1

      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 5 лет назад

      @@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.

  • @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.

  • @AmNotLegend
    @AmNotLegend Год назад

    is it possible Spring data jdbc without using the rest of Spring framework

  • @АлексГладун-э5с
    @АлексГладун-э5с 6 лет назад +1

    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.

  • @maheshmote7
    @maheshmote7 6 лет назад +1

    Great content. I've subscribed. Looking for new videos. I want to say thanks in advance.

    • @SpringAcademy
      @SpringAcademy  6 лет назад +1

      Thanks! New content every Monday 9am Berlin time :)

  • @seyedalihejazi4926
    @seyedalihejazi4926 5 лет назад

    looking forward to more videos. great channel.

  • @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.

  • @videosiddu
    @videosiddu 4 года назад

    Thanks for the Awesome Stuff!Thanks for the explaination i was looking for.

  • @xalfonso85
    @xalfonso85 5 лет назад

    Excellent! Thanks

  • @KangoV
    @KangoV 4 года назад

    Could also try Micronaut Data JDBC. Generates the queries at compile time :) No reflection at runtime. Annotation processing ftw!

    • @SpringAcademy
      @SpringAcademy  4 года назад

      Thanks for hint! Indeed I want to give closer look to Micronaut later this year

  • @sriontube
    @sriontube 5 лет назад

    sorry for the offtopic, but what is best screen recording software to record on mac.

    • @SpringAcademy
      @SpringAcademy  5 лет назад

      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

  • @jitendra.pradhan
    @jitendra.pradhan 5 лет назад

    Hi sir ,
    I'm jit from India
    Can u make a video for mongoDB with spring boot

  • @MackaBaer
    @MackaBaer 4 года назад

    Hi, maybe if you have time i would be very interested on your opinion on quarkus. great channel btw :)

    • @SpringAcademy
      @SpringAcademy  3 года назад +1

      Quarkus is promising, I am watching it but not used it in production yet.

  • @yuanbohan
    @yuanbohan 5 лет назад

    great! thanks for your video.

  • @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%)"

  • @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..

  • @GAVVVR
    @GAVVVR 5 лет назад

    Subscribed!

  • @thyagtubes
    @thyagtubes 4 года назад

    Dreams by Joakim Karud!

  • @hophfg
    @hophfg 4 года назад

    I posted the example source code on my Github. Check it out. github.com/jypthemiracle/java-practice/tree/master/jdbcpractice