How do you do a spring boot with CRUD? Spring Boot, MySQL, JPA, Hibernate Restful CRUD API Example

  Рет қаралды 9,272

SJ Programming Solutions

SJ Programming Solutions

Күн бұрын

Пікірлер: 30
@sonali2720
@sonali2720 Жыл бұрын
Thank You for this video lecture ,it helped me a lot to understand the basic idea of springboot and its connection with DB .
@raamartist8676
@raamartist8676 2 жыл бұрын
It's really Great Session Mam...The way you explain all this line by line with full explanation it's really Great mam🥳🙏😇👍
@youtubefever3273
@youtubefever3273 2 жыл бұрын
Very good video . This type of video I was searching for long time which explains a complete project in such a nice way. Thank you
@KrishnaKoonapareddy
@KrishnaKoonapareddy Жыл бұрын
mam,this vedio is so helpful for me.Thanks a lot mam
@sujitkate1781
@sujitkate1781 Жыл бұрын
Awesome mam, your way of teaching is amazing, simple, and easy to understand. I really liked it.🥳🙏😇👍
@SJProgrammingSolutions
@SJProgrammingSolutions Жыл бұрын
Hello Sujit, thank you !
@MosabbirSadman
@MosabbirSadman 2 жыл бұрын
This was a great tutorial, highly appreciate it! However in Employeecontroller you should not set the Id in the updateEmp method as it is the Primary Key.
@syedmoulana9799
@syedmoulana9799 11 ай бұрын
Mamm which sts version you are using I am not getting spring boot 2.6.3 in my sts
@SJProgrammingSolutions
@SJProgrammingSolutions 11 ай бұрын
Hello , I was using Version: 4.16.1.RELEASE
@BhanuPrakash-iz6es
@BhanuPrakash-iz6es 2 жыл бұрын
Mam can you please share the list. what dependencies you are added in Pom.Xml
@SJProgrammingSolutions
@SJProgrammingSolutions 2 жыл бұрын
Hello Prakash , This are the dependencies i have added . Spring data JPA Spring web Mysql connector
@BhanuPrakash-iz6es
@BhanuPrakash-iz6es 2 жыл бұрын
@@SJProgrammingSolutions thank you Mam
@mustafizur453
@mustafizur453 Жыл бұрын
there is an error due to java --> jakarta persistence API.. how to use jakarta?
@RohitMishra-tu5jl
@RohitMishra-tu5jl 2 жыл бұрын
hey , I am getting 500 internal error ""Consider defining a bean of type 'com.rest.api.service.EmployeeService' in your configuration."" this what should I do. I did exact same thing
@SJProgrammingSolutions
@SJProgrammingSolutions 2 жыл бұрын
Did you added @Service annotation?
@MrThaboike
@MrThaboike Жыл бұрын
Had the same, drives me crazy and didn't get it working, but i did circumvent the problem by just ignoring the EmployeeService interface: @RestController @RequestMapping("/emp") public class Employeecontroller { @Autowired EmployeeRepository repo; @PostMapping("/save") public Employee saveEmployee(@RequestBody Employee emp) { return repo.save(emp); } }
@umasingh4369
@umasingh4369 2 жыл бұрын
Mam I got a error exception during pool initialization
@SJProgrammingSolutions
@SJProgrammingSolutions 2 жыл бұрын
Hello , please share screenshot of exception on Instagram id : sjprogramming
@umasingh4369
@umasingh4369 2 жыл бұрын
@@SJProgrammingSolutions yes mam I already did plz check
@santosh2048
@santosh2048 Жыл бұрын
can you share the solution?
@umasingh4369
@umasingh4369 Жыл бұрын
@@santosh2048 don't ask her it's been a 3 month still she won't gave me reply I took screenshot shot also n share with her insta I'd but they didn't give a damm better you can go stack over flow site nd find the solution don't waste your time here
@balabala-09
@balabala-09 Жыл бұрын
can you please share the code file
@sandunjayathilake9333
@sandunjayathilake9333 Жыл бұрын
I have got an issue - Error creating bean with name 'employeeRepository' defined in com.example.repository.EmployeeRepository defined in @EnableJpaRepositories declared on MySqlExampleApplication: Not a managed type: class com.example.entity.Employee How to solve this ?
@VishnuKandukuri-xf3ln
@VishnuKandukuri-xf3ln 2 жыл бұрын
Hi Madam.. Thank you for uploading this video. But I am having error with description : "Field employeeService in com.demoprojectCrudOperations.controller.EmployeeController required a bean of type 'com.demoprojectCrudOperations.service.EmployeeService' that could not be found. " Did exactly what you explained. Please suggest the resolution.
@SJProgrammingSolutions
@SJProgrammingSolutions 2 жыл бұрын
Hello Vishnu, did you added @Autowired on employeesService ? Please check and if still you are getting error then share the screenshot of error on sjprogrammingsolutions@gmail.com mail will check . Thank you
@sharanb6718
@sharanb6718 2 жыл бұрын
Hi mam i sent my error in ur instagram. Can u check and suggest me how to fix this
@sharanb6718
@sharanb6718 2 жыл бұрын
I have followed same code u did. But i got error
@SJProgrammingSolutions
@SJProgrammingSolutions 2 жыл бұрын
Done, Thank you.
@surajyadav8590
@surajyadav8590 Жыл бұрын
Hi mam I am facing this issue can you pls help. Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled. 2023-03-17T01:15:21.918+05:30 ERROR 18836 --- [ restartedMain] o.s.b.d.LoggingFailureAnalysisReporter  : *************************** APPLICATION FAILED TO START *************************** Description: Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured. Reason: Failed to determine a suitable driver class Action: Consider the following: If you want an embedded database (H2, HSQL or Derby), please put it on the classpath. If you have database settings to be loaded from a particular profile you may need to activate it (no profiles are currently active).
@SJProgrammingSolutions
@SJProgrammingSolutions Жыл бұрын
Hello Suraj, It seems you have not configured spring.datasource.url property in your application.properties file
The IMPOSSIBLE Puzzle..
00:55
Stokes Twins
Рет қаралды 197 МЛН
Don’t Choose The Wrong Box 😱
00:41
Topper Guild
Рет қаралды 28 МЛН
Lazy days…
00:24
Anwar Jibawi
Рет қаралды 8 МЛН
Coding with Notch (from Minecraft: The Story of Mojang)
3:57
2PlayerProductions
Рет қаралды 6 МЛН
What is Spring Webflux and when to use it?
17:46
Defog Tech
Рет қаралды 246 М.
Best Practices for Many-To-One and One-To-Many Association Mappings
9:35
Spring Data JPA: What is it? And Why Should You Use It?
10:37
Thorben Janssen
Рет қаралды 70 М.
The IMPOSSIBLE Puzzle..
00:55
Stokes Twins
Рет қаралды 197 МЛН