Spring Boot CRUD Example || Hibernate(JPA) + MySql || Spring Boot Interview Questions (Live Demo)

แชร์
ฝัง
  • เผยแพร่เมื่อ 10 ก.ย. 2024
  • Spring Boot CRUD with Example || Hibernate(JPA) + DB || Spring Boot Interview Questions Interview Questions || Live Demo
    Udemy Course of Code Decode on Microservice k8s AWS CICD link:
    openinapp.co/u...
    Course Description Video :
    yt.openinapp.c...
    Project Lombok Video :
    • Project Lombok tutoria...
    How to create a Spring + hibernate project with spring hibernate mysql crud example.
    It explains spring crud example with mysql. It explains crud spring boot.
    Its one of the most asked spring interview questions.
    It has live demo of spring crud application with spring hibernate crud example
    We also learn to develop crud spring boot rest api s which are exposed through controllers
    This is important from the spring interview questions and answers for experienced point of view
    Also useful in spring boot interview questions
    How to create CRUD in spring boot hibernate from scratch in Java interview questions written / intermediate round:
    Using STS Create spring starter project and during creation select 3 dependencies:
    spring boot starter jpa
    spring boot starter web
    mysql driver
    lombok
    Modify Java version accordingly.
    Then Add following properties in application prop file
    spring.datasource.url= jdbc:mysql://localhost:3306/codedecode?useSSL=false
    spring.datasource.username= root
    spring.datasource.password= root
    spring.jpa.properties.hibernate.dialect= org.hibernate.dialect.MySQL5InnoDBDialect
    spring.jpa.hibernate.ddl-auto= update
    Then Create Entity package using following annotations:
    @Entity
    @Table
    @Id
    @GeneratedValue(strategy = GenerationType.AUTO)
    We will see these annotations used in CRUD in java interview questions
    Spring boot interview questions :
    The Architecture of the application you have worked upon.
    Create a CRUD in 60 / 120 minutes. (Live)
    Exception handling in Spring / Global exception handling
    Spring Security end to end .
    For Explain Architecture of your Application u worked on
    This is one of the most asked interview question.
    We all Work in IT Industry where we have some clients and we serve the request and they pay us.
    Hence most of the Applications work on Client server Architecture
    We can layer / split an application in a client server architecture as:
    Presentation Logic
    Business Logic
    Data Source
    We Usually have 3 Tier Architecture.
    In this video of spring boot interview questions We Use programming language like java to implement Business logic on server.
    Its further more modularised / divided into
    Controller Layer - to create crud spring boot rest api
    Business layer
    DAO Layer
    We have even covered crud spring boot rest api in this video from scratch
    -------------------------------------------------------------------------------------------------------------------------------------
    Code Decode Playlists
    Most Asked Core Java Interview Questions and Answers : • Core Java frequently a...
    Advance Java Interview Questions and Answers : • Advance Java Interview...
    Java 8 Interview Questions and Answers : • Java 8 Interview Quest...
    Hibernate Interview Questions and Answers : • Hibernate Interview Qu...
    Spring Boot Interview Questions and Answers : • Advance Java Interview...
    Angular Playlist : • Angular Course Introdu...
    GIT : • GIT
    -------------------------------------------------------------------------------------------------------------------------------------
    Subscriber and Follow Code Decode
    Subscriber Code Decode : www.youtube.co...
    Linkedin : / codedecodeyoutube
    Instagram : / codedecode25
    -------------------------------------------------------------------------------------------------------------------------------------
    #springBootCrud #Springboot #SpringBootInterviewQuestions #JavaInterviewQuestion
    #codedecode

ความคิดเห็น • 316

  • @ashishgautami1160
    @ashishgautami1160 3 ปีที่แล้ว +6

    hello, my self Ashish Gautami and I would like to say great thanks to you.
    I just started watching your video only before 1 month almost and I get 4 job offers as per your concept clearing that I consume from your videos.
    so now I have a humble request for that please make a video on data structure as well as real-time scenarios for which data structure choose for what condition with time complexity and memory consumption.
    so, we wrote a code memory and time efficient rather than only the right code and good output.
    thanks in advance.
    keep it up your work is stratified for thousand of students as well as professionals.

    • @CodeDecode
      @CodeDecode  3 ปีที่แล้ว +2

      Hi Ashish,
      Thanks for writing back to us. Feels motivated when people like come back and acknowledge us. We are highly obliged . All the very best from team code decode. Keep learning keep growing.
      Yes we will create videos on ds soon 👍👍

  • @divijbalota4790
    @divijbalota4790 ปีที่แล้ว +6

    May Lord Ram bless you with all the things you wish for. Due to this series I am able to crack interviews in a week and get out of current super toxic environment. It takes a lot of effort to make such content. Thanks again😊😊

    • @CodeDecode
      @CodeDecode  ปีที่แล้ว +2

      These words means a lot to us Divij. Thanks a tonn🙏🙏. Hope you reach all heights in your career 👍👍keep learning keep shining ⭐✨⭐✨⭐✨. Many many congratulations on your new job man. 👏👏👏👏. Please help community by telling the company and if possible the project . anonymous comment can also help. 🍰🙏

  • @shreyabanerjee7634
    @shreyabanerjee7634 2 ปีที่แล้ว +5

    I couldn't crack 2-3 interviews for this area, I wish had found this lecture sooner! but thank you so much.

    • @CodeDecode
      @CodeDecode  2 ปีที่แล้ว +1

      It's never late Shreya. We know you will rock 👍👍👏👏keep learning keep rocking girl 🎊🎊

    • @manishtiwary22
      @manishtiwary22 ปีที่แล้ว

      Are u working now

  • @sk.masoodali5728
    @sk.masoodali5728 3 ปีที่แล้ว +2

    I am searching many videos for getting knowledge on Spring boot. Ultimate I found that this is the best tutorial point for me. Ur explanation is awesome. I am requested you upload videos on topics such as
    1. How to debugg in spring boot.
    2. How to write junit test cases
    3. When to use maven build, maven clean, maven install and maven update. I am eagerly waiting for your video
    Once again a big thank you for providing useful topics.

    • @CodeDecode
      @CodeDecode  3 ปีที่แล้ว

      Thanks for the nice words 👍👍. Sure these are really nice topics that you have suggested. Will create video on them soon 👍👍

  • @PankajSharma-pn5bd
    @PankajSharma-pn5bd 3 ปีที่แล้ว +5

    Please continue with the remaining crud operations along with the exceptional handling(globally) and spring security.
    And please make a video on annotations which are required in a spring boot application and if you can, please make a video on microservices interview question that would be a great help, just like you have created on spring boot and hibernate.
    Thanks

    • @CodeDecode
      @CodeDecode  3 ปีที่แล้ว

      Sure we willl do that really soon. We have planned this series in similar way 👍👍

  • @manasdeora4601
    @manasdeora4601 3 ปีที่แล้ว +9

    Please make video on junits, maven. Also, how to mock setters and getters of model class without actually using them.

  • @dipakmohapatra9548
    @dipakmohapatra9548 3 ปีที่แล้ว +1

    Just now completed the 1st part of this section I can't explain how much happy I'm because I never gained this much knowledge in this much time thanks so much, Mam can't wait for tomorrow to try this application by myself 😍😍
    get well soon mam

    • @CodeDecode
      @CodeDecode  3 ปีที่แล้ว

      Thanks Dipak 🙂🙂👍👍sure please try n lemme know if u face any issues. Yeah will try to get well soon 👍👍. Hope u and ur family is safe and sound.

  • @amitajadhav9200
    @amitajadhav9200 3 ปีที่แล้ว +2

    Your videos are excellent and your teaching style is very simple.

    • @CodeDecode
      @CodeDecode  3 ปีที่แล้ว

      Thanks Amita 👍👍

  • @nirmalakbisoyi7565
    @nirmalakbisoyi7565 2 ปีที่แล้ว +3

    Great Videos. point to point . no unneccesary discussion . !!!!

    • @CodeDecode
      @CodeDecode  2 ปีที่แล้ว

      Thanks Nirmala👍🙂

  • @karishmarawat1359
    @karishmarawat1359 3 ปีที่แล้ว +2

    Great explanation madam👏
    Please make more videos on Spring Boot , Spring Batch , Microservices, Rest Services, H2 database , MongoDB

    • @CodeDecode
      @CodeDecode  3 ปีที่แล้ว

      Sure Karishma. They all are very nice topics. Will surely do that👍

  • @NailPassion999
    @NailPassion999 ปีที่แล้ว +1

    Ma'am excellent explanation😍 being from a Non-IT background Your videos are seriously helpful and make the topic more Interesting. Could you please explain why we do maven clean install stuff...

  • @priyankanandedkar9422
    @priyankanandedkar9422 3 ปีที่แล้ว +5

    This is great. Thank you very much for putting this great stuff. Could you please consider making videos on Design Patterns and Design principles in detail? Because questions in these topics are also common in interviews.

    • @CodeDecode
      @CodeDecode  3 ปีที่แล้ว +1

      Hi Priyanka ,
      We have already made videos on design patterns please refer below playlist
      th-cam.com/play/PLyHJZXNdCXselvpjEhygQ9GlDQihtQj6i.html

  • @abhi007rider
    @abhi007rider 3 ปีที่แล้ว +12

    Please make a video on Spring MVC Interview questions and Spring REST

    • @CodeDecode
      @CodeDecode  3 ปีที่แล้ว +1

      Sure. 👍

    • @arabindapadhiali824
      @arabindapadhiali824 3 ปีที่แล้ว +3

      Yes please make a video for spring MVC with hibernate configuration questions

    • @CodeDecode
      @CodeDecode  3 ปีที่แล้ว

      Sure will create for MVC + hibernate too soon 👍👍

    • @nanim.v.9035
      @nanim.v.9035 3 ปีที่แล้ว +1

      Please make video on spring rest , micro services, Dockers, kubernate

    • @greeshmaA08
      @greeshmaA08 3 ปีที่แล้ว

      @@CodeDecode yes please waiting for this vedio spring MVC and REST

  • @AjithKumar-yc8cu
    @AjithKumar-yc8cu 2 ปีที่แล้ว +1

    I am really addicted to ur voice. nice .....

  • @swapnilmishra697
    @swapnilmishra697 2 ปีที่แล้ว +1

    Kindly make video on testing using Junit our controller,service layer etc and finally integration testing of this CRUD project in this vidoe please.
    i saw many videos but could not understand.
    your way of explaination is really good.
    please make some vidoe on testing spring boot application using junit

    • @CodeDecode
      @CodeDecode  2 ปีที่แล้ว

      Sure swapnil. We will do that 🙂🙂

  • @ummarfarooq4160
    @ummarfarooq4160 3 ปีที่แล้ว +1

    Ma'am your way of explaining concepts is very simple to understand... thank you..
    Pls make videos on Maven update and clean project ..

    • @CodeDecode
      @CodeDecode  2 ปีที่แล้ว

      Sure Ummar 👍🙂

  • @nethisaicharan3037
    @nethisaicharan3037 3 ปีที่แล้ว +1

    Thank you for all your videos. Please complete Design Patterns too, through your videos I learnt them and my sincere request please complete all the pending videos. Since, you are explaining them very precisely and also by showing us practically. So it would be very helpful for our reference.

    • @CodeDecode
      @CodeDecode  3 ปีที่แล้ว

      Ohh. We didn't get enough views on that series so I stopped that and moved to this. Will create more of them if it's priority for people 👍👍

    • @nethisaicharan3037
      @nethisaicharan3037 3 ปีที่แล้ว

      @@CodeDecode Thank you so much!

    • @anshitasharma5475
      @anshitasharma5475 3 ปีที่แล้ว

      @@CodeDecode I would highly encourage to complete the design pattern video series

  • @tiwarybaba
    @tiwarybaba 2 ปีที่แล้ว +2

    Thanks for the video... I'm very interested in knowing junit, global exception handling, writing SQL in the repository (and if possible keep explaining annotations while you develop).
    Again thanks for the video 😊

    • @CodeDecode
      @CodeDecode  2 ปีที่แล้ว

      Global exception handling
      th-cam.com/video/hLlGAQ5NfTE/w-d-xo.html

  • @vidyab706
    @vidyab706 ปีที่แล้ว +1

    Mam thank you so so much 😊, there are so many things I have learned after watching your videos,if possible please make videos on One to Many mapping spring boot example including with field mapping (mappers)while retrieving data from DB,Thanks in advance ,if you do it would be helpful ,keep rocking and keep up the good work mam🙂.

    • @CodeDecode
      @CodeDecode  ปีที่แล้ว

      Thanks a lot Vidya 🙂🙂👍👍 sure we will put a video on mappings 👍

  • @adityaprakash2781
    @adityaprakash2781 3 ปีที่แล้ว +1

    i just found it ,one of the best things to start practically .I had some erros where It was returning empty list from database which was due to private id and private name ,but I dont know ,HOw it worked for you

    • @CodeDecode
      @CodeDecode  3 ปีที่แล้ว

      Make getters and setters and empty constructors.

  • @PankajSharma-pn5bd
    @PankajSharma-pn5bd 3 ปีที่แล้ว +1

    Hi , i believe you are doing great. Thanks for what you are doing, just want to tell you ,you are doing a great job, please continue doing this.

    • @CodeDecode
      @CodeDecode  3 ปีที่แล้ว

      That's really nice of you Pankaj. Thanks for the motivation 👍👍

  • @chiranjib2patra
    @chiranjib2patra 3 ปีที่แล้ว +1

    This video is small but explains everything in a simple way. Good work 👌

    • @CodeDecode
      @CodeDecode  3 ปีที่แล้ว

      Thanks Chiranjib 👍👍

  • @rohanthakur9159
    @rohanthakur9159 6 หลายเดือนก่อน

    Your tutorials are really awesome mam.
    Can you please create tutorials for the following?
    1. When to use maven build, maven clean, maven install, maven update etc.

  • @swapnilchavhan480
    @swapnilchavhan480 2 ปีที่แล้ว +1

    Thank you for all video .
    Please make video on spring security end to end

    • @CodeDecode
      @CodeDecode  2 ปีที่แล้ว

      Sure Swapnil. We will do that soon 👍👍

  • @tharun114
    @tharun114 ปีที่แล้ว +1

    Great content ma'am, Your videos are just fab. I have a suggestion to make it more great. When you tell to refer previous video. Kindly provide a link card or link of the reference videos in description. Good going, Thanks again.

  • @alekyajaini3749
    @alekyajaini3749 2 ปีที่แล้ว +1

    I follow all your videos... Thankyou so much.. Though we work on these things regularly..still gained lot of knowledge.kudos to the entire team.. please do video on Gradle as well

    • @CodeDecode
      @CodeDecode  2 ปีที่แล้ว

      sure alekya we will plan for it ....

    • @alekyajaini3749
      @alekyajaini3749 2 ปีที่แล้ว

      @@CodeDecode Thankyou:)

  • @arunavasaha7051
    @arunavasaha7051 ปีที่แล้ว +1

    Your videos are actually a great help

  • @shruthigutti3082
    @shruthigutti3082 2 ปีที่แล้ว +1

    Hi, very nice explained the concepts, Thanks a lot for ur hard work & helping us

    • @CodeDecode
      @CodeDecode  2 ปีที่แล้ว

      Thanks for all the motivation Shruthi 🙂👍

  • @Mahalakshmi-ur1qf
    @Mahalakshmi-ur1qf 2 ปีที่แล้ว +1

    Yes please make a detailed video of Maven

    • @CodeDecode
      @CodeDecode  2 ปีที่แล้ว

      Sure mahalakshmi we will create it soon

  • @_ravi_kumar_gupta
    @_ravi_kumar_gupta 3 ปีที่แล้ว +1

    Please complete this series for exceptional handling and security.
    How to handle exceptional in spring boot project. Thanks

  • @rahuls9279
    @rahuls9279 3 ปีที่แล้ว +1

    Thank you mam. Please continue to make a complete Spring/SpringMVC/ Spring boot project.

    • @CodeDecode
      @CodeDecode  3 ปีที่แล้ว

      th-cam.com/play/PLyHJZXNdCXsdXxY8wupiLenux2Yafn1lN.html

    • @CodeDecode
      @CodeDecode  3 ปีที่แล้ว

      Does it helps??

  • @annaporna9644
    @annaporna9644 3 ปีที่แล้ว +1

    Mam thank you so so much 😊, there are so many things I have learned after watching your videos, please keep making these interview series. If possible please also make videos on microservices architecture and docker.

    • @CodeDecode
      @CodeDecode  3 ปีที่แล้ว

      Sure 😊 . Next I will extend this example with microservices too 👍👍

  • @AmitKumar-qh4ow
    @AmitKumar-qh4ow 3 ปีที่แล้ว +1

    Thank you mam for such wonderful videos. 🙏🏼🙏🏼🙏🏼. Please extends this series on SpringMVC, Spring Boot and Hibernate or Spring Data. Please add Microservices also.

    • @CodeDecode
      @CodeDecode  3 ปีที่แล้ว

      Sure we will create it soon........

  • @rakeshprasad7459
    @rakeshprasad7459 3 ปีที่แล้ว +1

    JpaRepository why we pass hardcoded employee and Long object here. what if we want to pass other type object

  • @nayak1784
    @nayak1784 3 ปีที่แล้ว +2

    Please Please Please make a video on maven, that will really help us understand deeper

    • @CodeDecode
      @CodeDecode  3 ปีที่แล้ว

      Sure, we are planning and we will make it soon.....

  • @Stunny1990
    @Stunny1990 ปีที่แล้ว +1

    Just one suggestion why we directly calling repo from controller isn't against the design , we should be injecting service in controller and then should call from there

    • @CodeDecode
      @CodeDecode  ปีที่แล้ว

      Yes Rishi. I also told the sane thing in this video itself at 25:51 timestamp.

  • @yoshitamahajan353
    @yoshitamahajan353 3 ปีที่แล้ว +1

    Please make video on annotations present in spring boot with practical example...

  • @anshitasharma5475
    @anshitasharma5475 3 ปีที่แล้ว +1

    Please make video on spring rest , micro services, Dockers, kubernate, jenkins configuration with spring aplication

    • @CodeDecode
      @CodeDecode  3 ปีที่แล้ว

      They are all in pipeline Anshita 👍👍🙂🙂

  • @arundhatikandelkar7021
    @arundhatikandelkar7021 ปีที่แล้ว +1

    This is great . could you please make video on OWASP TOP 10?

    • @CodeDecode
      @CodeDecode  ปีที่แล้ว +1

      Sure 😊👍👍

  • @utkarshshukla4505
    @utkarshshukla4505 ปีที่แล้ว +1

    Excellent video about CRUD , mam please can you cover all maven related also as you mentioned in the video for more understanding on it and also please explain how you added db in the IDE itself.

  • @timebunk2078
    @timebunk2078 2 ปีที่แล้ว +1

    Please continue spring series

    • @CodeDecode
      @CodeDecode  2 ปีที่แล้ว +1

      Sure we will upload more videos soon

  • @kaushikdutta3949
    @kaushikdutta3949 3 ปีที่แล้ว +1

    Please make a video on how to write junit test cases best to make a continuation on this playlist itself

    • @CodeDecode
      @CodeDecode  3 ปีที่แล้ว

      Sure Kaushik, that's a very nice topic. We will surely do that

  • @sapnaverma8881
    @sapnaverma8881 3 ปีที่แล้ว +1

    you started very well, but looks like ended abruptly. Can you please add more methods or in description how u added mysql in ur ide table have you created... it was very cut short. the proj architecture i beleive everyone knows who all r working and they have to explain. Keep it up you are doing great job. Create hindi series as well, although u have in depth knowledge. thanks a ton 👍👍👍

    • @CodeDecode
      @CodeDecode  3 ปีที่แล้ว +1

      I will explain complete crud and exception handling in next video 👍👍

  • @paswini244
    @paswini244 3 ปีที่แล้ว +1

    Great explanation madam👏 an interview topics,Please upload the Exception handlers concept in spring boot.Please do vedios more on these series 😊

  • @shivannagarisravanthi5448
    @shivannagarisravanthi5448 3 ปีที่แล้ว +1

    please complete all spring related topic it will be very helpful

    • @CodeDecode
      @CodeDecode  3 ปีที่แล้ว

      Sure we will do that soon....

  • @souravroychowdhury6525
    @souravroychowdhury6525 ปีที่แล้ว

    Thanks mam for this wonderful stuff.. now I am "capable enough" to answer such questions 😂..

  • @sayaliyadav7218
    @sayaliyadav7218 7 หลายเดือนก่อน

    Hi Mam,
    Kindly make video on how to find out Database Navigator in STS. How to configure database in STS.

  • @narayanan500
    @narayanan500 3 ปีที่แล้ว +1

    Please make videos on microservices with spring boot

    • @CodeDecode
      @CodeDecode  3 ปีที่แล้ว

      sure we will cover that soon......

  • @SandeepAS-ov3fk
    @SandeepAS-ov3fk ปีที่แล้ว

    thanks for wonderful video...kindly create another video explaining why Maven install and update need to be done...

  • @shreyasvaghasia7175
    @shreyasvaghasia7175 2 ปีที่แล้ว

    your training style is very nice ..pls make more info videos on all the best technologies....

    • @CodeDecode
      @CodeDecode  2 ปีที่แล้ว

      sure shreyas we will create more on this

  • @shubhangigupta5354
    @shubhangigupta5354 2 ปีที่แล้ว +1

    Please make a video on Spring Cloud as well

    • @CodeDecode
      @CodeDecode  2 ปีที่แล้ว

      sure shubhangi we will make it soon

  • @surbhigupta6471
    @surbhigupta6471 3 ปีที่แล้ว +1

    global exception handling please make a video on that plzzzzzzz

    • @CodeDecode
      @CodeDecode  3 ปีที่แล้ว

      Next video will be on exception handling only

  • @manikumar9645
    @manikumar9645 3 ปีที่แล้ว +2

    Please make a video on important spring boot & hibernate annotations with functionalities as interview perspective.

    • @CodeDecode
      @CodeDecode  3 ปีที่แล้ว +1

      Sure will do that . 👍

    • @manikumar9645
      @manikumar9645 3 ปีที่แล้ว +2

      @@CodeDecode Thank you mam..

    • @CodeDecode
      @CodeDecode  3 ปีที่แล้ว

      🙂

  • @abiultimate
    @abiultimate 2 ปีที่แล้ว +1

    Superb

  • @Anonymousrims
    @Anonymousrims ปีที่แล้ว

    please make a video on advanced interview questions on springboot like hot swap etc

  • @arpankumarkar4895
    @arpankumarkar4895 3 ปีที่แล้ว +1

    thank you for the good explanation.

  • @secertfun2413
    @secertfun2413 3 ปีที่แล้ว +1

    Please make video on Maven Install, Update, clean and Build

    • @CodeDecode
      @CodeDecode  3 ปีที่แล้ว

      Sure, thanks for the suggestion 👍👍

  • @parvezansari7879
    @parvezansari7879 3 ปีที่แล้ว +1

    Good practices on designing API --> please

    • @CodeDecode
      @CodeDecode  3 ปีที่แล้ว

      Sure Parvez 👍👍

  • @karthickselvam3938
    @karthickselvam3938 3 ปีที่แล้ว +1

    Most awaited.... thank you....

  • @ranipn2078
    @ranipn2078 2 ปีที่แล้ว +1

    Hi, very nice explanation, thank you.. Could you please explain or make a video on how to handle exception in controller layer, service layer and Dao layer.

    • @CodeDecode
      @CodeDecode  2 ปีที่แล้ว

      We have it all
      th-cam.com/video/WH_d9Tw4CPs/w-d-xo.html

  • @alkesh.sakhare
    @alkesh.sakhare 3 ปีที่แล้ว +1

    You are amazing! Thanks a lot!

    • @CodeDecode
      @CodeDecode  3 ปีที่แล้ว

      😊thanks Alkesh 👍👍. Keep learning keep shining ⭐✨

  • @smithaakutty124
    @smithaakutty124 3 ปีที่แล้ว +1

    Thank you so much, really appreciate 👍

    • @CodeDecode
      @CodeDecode  3 ปีที่แล้ว +1

      Thanks Smitha 👍

  • @rameshshettar9023
    @rameshshettar9023 ปีที่แล้ว +1

    Hi Thank you very much for your videos ... May i know how to upload images in the database..for example : logos need to upload to the database table..Kindly do the needful

  • @yumraj12
    @yumraj12 11 หลายเดือนก่อน

    Thank you much Mam, these Video I follow almost all the time as it helps me to keep things updated. I just have one soft request, Do we have a repos for all the codes provided in videos?If so please provide the git url for the same.

  • @pragatisalunke5249
    @pragatisalunke5249 3 ปีที่แล้ว +1

    Can you make video on passing data from entity class to domain and then pass to the frontend

    • @CodeDecode
      @CodeDecode  3 ปีที่แล้ว

      sure Pragati, we will do that in end to end project 👍

  • @meraj59
    @meraj59 ปีที่แล้ว +1

    Nice video

  • @sachinnagare8456
    @sachinnagare8456 3 ปีที่แล้ว

    Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
    2021-05-31 00:05:21.766 ERROR 12820 --- [ restartedMain] o.s.boot.SpringApplication  : Application run failed
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'handlerExceptionResolver' defined in class path resource [org/springframework/boot/autoconfigure/web/servlet/WebMvcAutoConfiguration$EnableWebMvcConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.web.servlet.HandlerExceptionResolver]: Factory method 'handlerExceptionResolver' threw exception; nested exception is java.lang.NoSuchMethodError: 'void org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration$EnableWebMvcConfiguration.addDefaultHandlerExceptionResolvers(java.util.List)'
    at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:658) ~[spring-beans-5.3.7.jar:5.3.7]
    at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:638) ~[spring-beans-5.3.7.jar:5.3.7]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1334) ~[spring-beans-5.3.7.jar:5.3.7]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1177) ~[spring-beans-5.3.7.jar:5.3.7]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:564) ~[spring-beans-5.3.7.jar:5.3.7]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:524) ~[spring-beans-5.3.7.jar:5.3.7]
    at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335) ~[spring-beans-5.3.7.jar:5.3.7]
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-5.3.7.jar:5.3.7]
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333) ~[spring-beans-5.3.7.jar:5.3.7]
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208) ~[spring-beans-5.3.7.jar:5.3.7]
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:944) ~[spring-beans-5.3.7.jar:5.3.7]
    at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918) ~[spring-context-5.3.7.jar:5.3.7]
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583) ~[spring-context-5.3.7.jar:5.3.7]
    at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:142) ~[spring-boot-2.1.4.RELEASE.jar:2.1.4.RELEASE]
    at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:775) ~[spring-boot-2.1.4.RELEASE.jar:2.1.4.RELEASE]
    at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:397) ~[spring-boot-2.1.4.RELEASE.jar:2.1.4.RELEASE]
    at org.springframework.boot.SpringApplication.run(SpringApplication.java:316) ~[spring-boot-2.1.4.RELEASE.jar:2.1.4.RELEASE]
    at org.springframework.boot.SpringApplication.run(SpringApplication.java:1260) ~[spring-boot-2.1.4.RELEASE.jar:2.1.4.RELEASE]
    at org.springframework.boot.SpringApplication.run(SpringApplication.java:1248) ~[spring-boot-2.1.4.RELEASE.jar:2.1.4.RELEASE]
    at config.StudentApplication.main(StudentApplication.java:14) ~[classes/:na]
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:na]
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64) ~[na:na]
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:na]
    at java.base/java.lang.reflect.Method.invoke(Method.java:564) ~[na:na]
    at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49) ~[spring-boot-devtools-2.1.4.RELEASE.jar:2.1.4.RELEASE]
    Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.web.servlet.HandlerExceptionResolver]: Factory method 'handlerExceptionResolver' threw exception; nested exception is java.lang.NoSuchMethodError: 'void org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration$EnableWebMvcConfiguration.addDefaultHandlerExceptionResolvers(java.util.List)'
    at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:185) ~[spring-beans-5.3.7.jar:5.3.7]
    at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:653) ~[spring-beans-5.3.7.jar:5.3.7]
    ... 24 common frames omitted
    Caused by: java.lang.NoSuchMethodError: 'void org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration$EnableWebMvcConfiguration.addDefaultHandlerExceptionResolvers(java.util.List)'
    at org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration$EnableWebMvcConfiguration.configureHandlerExceptionResolvers(WebMvcAutoConfiguration.java:559) ~[spring-boot-autoconfigure-2.1.4.RELEASE.jar:2.1.4.RELEASE]
    at org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport.handlerExceptionResolver(WebMvcConfigurationSupport.java:1028) ~[spring-webmvc-5.3.7.jar:5.3.7]
    at org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration$EnableWebMvcConfiguration$$EnhancerBySpringCGLIB$$ad2189c3.CGLIB$handlerExceptionResolver$33() ~[spring-boot-autoconfigure-2.1.4.RELEASE.jar:2.1.4.RELEASE]
    at org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration$EnableWebMvcConfiguration$$EnhancerBySpringCGLIB$$ad2189c3$$FastClassBySpringCGLIB$$712f0671.invoke() ~[spring-boot-autoconfigure-2.1.4.RELEASE.jar:2.1.4.RELEASE]
    at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:244) ~[spring-core-5.3.7.jar:5.3.7]
    at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:331) ~[spring-context-5.3.7.jar:5.3.7]
    at org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration$EnableWebMvcConfiguration$$EnhancerBySpringCGLIB$$ad2189c3.handlerExceptionResolver() ~[spring-boot-autoconfigure-2.1.4.RELEASE.jar:2.1.4.RELEASE]
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:na]
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64) ~[na:na]
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:na]
    at java.base/java.lang.reflect.Method.invoke(Method.java:564) ~[na:na]
    at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:154) ~[spring-beans-5.3.7.jar:5.3.7]
    ... 25 common frames omitted
    Why this error occured program

  • @DineshKumar-hi7fh
    @DineshKumar-hi7fh 3 ปีที่แล้ว +1

    yeah i wanted to know why do we do maven update install clean and build.

    • @CodeDecode
      @CodeDecode  3 ปีที่แล้ว +1

      Sure Dinesh 👍

  • @mohitagarwal4717
    @mohitagarwal4717 2 ปีที่แล้ว +1

    Nice Videos

    • @CodeDecode
      @CodeDecode  2 ปีที่แล้ว

      Thanks Mohit 🙂👍

  • @brajray2881
    @brajray2881 ปีที่แล้ว +1

    Thanks 🎉

  • @user-jy4yf5ek5u
    @user-jy4yf5ek5u 10 หลายเดือนก่อน +1

    Hi , i did implement this whole project but im getting empty json , when i added two rows im getting 2 jsons but empty like this [ {} ,{} ], could u pls tell me what might be the error , i did configure the the db and application properties correctly but still im getting empty json.

    • @anw568
      @anw568 วันที่ผ่านมา

      Same with mine. I then tried to remove the getter setter annotations and used the source->implement getter setter, constructor using fields and constructor from superclass manually. Now the json data is displaying correctly.

  • @shiviyaan
    @shiviyaan 3 ปีที่แล้ว +1

    Your tutorial is awesome, can you please create a tutorial on spring mvc annotations?

  • @sulavagarwal3561
    @sulavagarwal3561 3 ปีที่แล้ว +1

    Great explanation

    • @CodeDecode
      @CodeDecode  3 ปีที่แล้ว

      Thanks Sulav....

  • @sanketh768
    @sanketh768 3 ปีที่แล้ว +1

    please create a detailed video on maven, i have noticed that it creates a .m2 file and downloads all the dependencies over there.
    was wondering if we can migrate it from c drive to some other drive or location

  • @SandeepAS-ov3fk
    @SandeepAS-ov3fk ปีที่แล้ว +1

    maven clean update install video? do i need to do it if iam importing existing maven project by downloading jar from spring initializer?

    • @CodeDecode
      @CodeDecode  ปีที่แล้ว

      Yeah we need to download those jars from maven central to local m,2 folder.

  • @pramodkumbhar1175
    @pramodkumbhar1175 3 ปีที่แล้ว +1

    Very well explain 👍👍

  • @muralivangapandumohan6832
    @muralivangapandumohan6832 3 ปีที่แล้ว +1

    Please make video customize exception in spring boot madam

  • @satyanarayanareddyb3052
    @satyanarayanareddyb3052 2 ปีที่แล้ว

    Please make video on Maven -clean, build, etc..

  • @shravanjilakara981
    @shravanjilakara981 3 ปีที่แล้ว

    How the values retrieved from Database are displaying for you in browser? For me it's getting printed in STS console, but not in browser..I'm getting Whitelabel Error Page in browser. My console output :: [EmployeeEntity [Eid=1, Ename=abc, Ecompany=BSE] .Please help in this.

  • @parulagrawal1020
    @parulagrawal1020 3 ปีที่แล้ว +1

    Hi ,very well explained the concepts. Can you please provide videos on spring and spring boot annotations It is being asked many times in interviews. Thanks in advance.

    • @CodeDecode
      @CodeDecode  3 ปีที่แล้ว

      Sure Parul, we will do that🙂

  • @ramkumarkolamala8154
    @ramkumarkolamala8154 2 ปีที่แล้ว +1

    Please make a video on maven and how it is in enterprise application development

    • @CodeDecode
      @CodeDecode  2 ปีที่แล้ว +1

      Nice topic 👏👍👍sure we will do that 🙂👍

    • @ramkumarkolamala8154
      @ramkumarkolamala8154 2 ปีที่แล้ว

      @@CodeDecode thank you so much for considering

  • @sumeetnathe1
    @sumeetnathe1 3 ปีที่แล้ว +1

    Can you please make video on IOC, Dependency Injections, @Autowired (Both setter and constructor), Dispatcher Servlet, Front controller, Bean lifecycle, ApplicationContext, Bean Scopes etc. in Spring framework because these are the general and mainly asked questions.

    • @CodeDecode
      @CodeDecode  3 ปีที่แล้ว

      Sure. Thanks for these suggestions. They are very helpful. Thanks Sumeet 👍👍

  • @theDecentDrake
    @theDecentDrake ปีที่แล้ว

    In database during get mapping I am not able to transfer my DB data into Postman. Please help @Code Decode

  • @asif_maner
    @asif_maner ปีที่แล้ว +1

    Your STS app showing SQL Editor... how to add this menu option in STS App...??

    • @CodeDecode
      @CodeDecode  11 หลายเดือนก่อน

      Search that in eclipse marketplace

  • @manasdeora4601
    @manasdeora4601 3 ปีที่แล้ว +1

    Can you make a video on using composite primary key with 2 keys, one key being generated as identity as other with sequence generator. Tried this with embeddable and idclass both, but it wont work.

  • @Codestry
    @Codestry 3 ปีที่แล้ว +1

    Great Videos. Please make video on global exception handling also.
    There is lag in audio-video in the last 5 min of the video

    • @CodeDecode
      @CodeDecode  3 ปีที่แล้ว

      Sure will make a video on that. Yea there is some technical glitch at the very end of that.

    • @Codestry
      @Codestry 3 ปีที่แล้ว

      @@CodeDecode when can we expect next video

  • @umasingh4369
    @umasingh4369 2 ปีที่แล้ว +2

    Please create a proper project using spring boot framework hybernate so that we can put our resume it will help us to get a job

    • @CodeDecode
      @CodeDecode  2 ปีที่แล้ว +1

      th-cam.com/play/PLyHJZXNdCXsdXxY8wupiLenux2Yafn1lN.html

    • @CodeDecode
      @CodeDecode  2 ปีที่แล้ว +1

      th-cam.com/play/PLyHJZXNdCXsd2e3NMW9sZbto8RB5foBtp.html

    • @CodeDecode
      @CodeDecode  2 ปีที่แล้ว +1

      All these are projects only

  • @pihuchavhan9892
    @pihuchavhan9892 3 ปีที่แล้ว +1

    Mam please make video on spring security end to end and how to write test cases.

    • @CodeDecode
      @CodeDecode  3 ปีที่แล้ว

      Sure 👌👍👍

  • @siddharthhsoni
    @siddharthhsoni 3 ปีที่แล้ว +1

    Please make a video on integrating angular and spring boot

    • @CodeDecode
      @CodeDecode  3 ปีที่แล้ว

      sure we will plan and make it soon.......

  • @basilrasheedc
    @basilrasheedc 2 ปีที่แล้ว +1

    requesting a video for maven related things.

    • @CodeDecode
      @CodeDecode  2 ปีที่แล้ว

      Nice topic Basil. Sure we will do that 🙂🙂👍👍

  • @08982238755
    @08982238755 3 ปีที่แล้ว +1

    Please make videos on design patterns and system and architecture designs

    • @CodeDecode
      @CodeDecode  3 ปีที่แล้ว

      We have already made videos on it please check with below link
      th-cam.com/video/JFvSCobD7JU/w-d-xo.html
      th-cam.com/video/QfnZGam76kE/w-d-xo.html

  • @kiranmaiganadi4296
    @kiranmaiganadi4296 3 ปีที่แล้ว +1

    can you please make a video on maven lifecycle end to end. thanks

    • @CodeDecode
      @CodeDecode  3 ปีที่แล้ว

      Sure we will do that 👍👍

  • @manojyadavofficial8535
    @manojyadavofficial8535 3 ปีที่แล้ว +1

    Thanks for wonderful video :)

  • @luckym9717
    @luckym9717 2 ปีที่แล้ว

    Hi, I tried setting up spring project just the way you created....But findAll() method is returning empty list even though i can see data through query in the table.....pls help

  • @amitajadhav9200
    @amitajadhav9200 3 ปีที่แล้ว +1

    Please make video on Spring boot security.

    • @CodeDecode
      @CodeDecode  3 ปีที่แล้ว

      We have it already

    • @CodeDecode
      @CodeDecode  3 ปีที่แล้ว

      th-cam.com/play/PLyHJZXNdCXseGWynh6MlMrC_CmV0dR8mF.html

  • @arunavasaha7051
    @arunavasaha7051 ปีที่แล้ว

    Why not use Service class for writing the business logic. Like Injecting the repo and call the function.
    Then call the function in Service class inside the controller

  • @shrutiagarwal6401
    @shrutiagarwal6401 2 ปีที่แล้ว +1

    i dont find that database dbeaver option in my project, how to get it?

    • @CodeDecode
      @CodeDecode  2 ปีที่แล้ว +1

      You get it from marketplace

  • @trendinggadgets07
    @trendinggadgets07 3 ปีที่แล้ว +1

    ❤️ Thanku Code Decode 😊

  • @chaitutom5789
    @chaitutom5789 3 ปีที่แล้ว +1

    Video on why maven build maven clean

    • @CodeDecode
      @CodeDecode  3 ปีที่แล้ว

      Sure Chaitu👍🙂

  • @shrutisachan4725
    @shrutisachan4725 2 ปีที่แล้ว

    Please make a video on why do we do maven clean , install , update etc

    • @CodeDecode
      @CodeDecode  2 ปีที่แล้ว

      sure shruti we will create it soon