Start Creating User API | Installing Lombok | Creating Entity | Creating Services | Backend Course

  Рет қаралды 82,778

Learn Code With Durgesh

Learn Code With Durgesh

Күн бұрын

Пікірлер: 80
@narutodihargo
@narutodihargo Жыл бұрын
01:35=Entity class, 05:40= Check Database table is created or not, 05:55= to check DataBase table creating or not, 07:30=User Repository class, 09:15=UserService, 10:24= UserDTO, 14:05= Lambok jar download, 17:33= UserServiceImpl, 17:40=autowire UserRepository, 19:01= Entity to DTO, DTO to Entity,
@anjanikumar977
@anjanikumar977 2 жыл бұрын
Bhai ye dto to user and user to dto conversion smajh nhi aaya iska need kya hai ??
@Vithal_Nivargi
@Vithal_Nivargi 2 жыл бұрын
GreatFull series is going on free of cost...Thanks
@chinmayaparamguru3296
@chinmayaparamguru3296 2 жыл бұрын
In lombok, @Data annotation itself provides @Getter @Setter @RequiredArgsConstructor @ToString @EqualsAndHashCode, @NoArgsConstructor. So we can use the Data annotation to reduce the code.
@m.d.4938
@m.d.4938 2 жыл бұрын
database se connect karte smay 2 problems aa rhi hai 1. Loading class `com.mysql.jdbc.Driver'. This is deprecated. The new driver class is `com.mysql.cj.jdbc.Driver'. The driver is automatically registered via the SPI and manual loading of the driver class is generally unnecessary. 2.java.sql.SQLNonTransientConnectionException: CLIENT_PLUGIN_AUTH is required how to solve it...?
@srinutippana
@srinutippana Жыл бұрын
@@m.d.4938 Update the driverclass value
@ujjwaltiwari7916
@ujjwaltiwari7916 3 ай бұрын
Database mi table nhi ban rha... Kya error ho sakta hai?
@guruvachanjain2908
@guruvachanjain2908 2 жыл бұрын
Video content is amazing 🤩
@RuDraKannoJiya
@RuDraKannoJiya Жыл бұрын
2:22 kaise suggestion aa raha hai mere me suggestion nhii de rha😢
@ankushghosh1433
@ankushghosh1433 Жыл бұрын
17:25= UserServiceImpl, 19:10= Dto to Entity , Entity to Dto conversion ,
@saurabhmishra1732
@saurabhmishra1732 2 жыл бұрын
Great sir 🤘 1st like and comment 💖💖
@asam0997
@asam0997 2 жыл бұрын
Please include redis also in this project, for mapping dto to entity or vice versa u a can use mapper interface.
@167shivamrai4
@167shivamrai4 2 жыл бұрын
if any problem with the pom.xml and springboot project is not running. remove the lambok dependency for now.
@abhinavkumar7730
@abhinavkumar7730 Жыл бұрын
Latest STS doesn't give pom.xml until I convert the project in a maven project, then pom.xml appears but doesn't contain the required dependencies. Entering annotations does not give any suggestions, javax is not present but jakarta is present. You are not facing these things in the video Please add any comment if possible to counter these issues.
@SeemaSaharan-x1d
@SeemaSaharan-x1d Жыл бұрын
Did you resolve this issue? @abhinavjumar7730
@rohitkandari7765
@rohitkandari7765 2 жыл бұрын
why we needed to install lombok jar when we have already added the dependency of lombok at pom.xml?
@ITKalashKumar
@ITKalashKumar 2 жыл бұрын
he is making things simple, otherwise you need to go to eclipse folder, find lombok dependency, run it and then provide it correct path of sts-workspace. you don"t have to do all these things if you are using eclipse.
@Itsthelostgirl
@Itsthelostgirl Жыл бұрын
​@@ITKalashKumar please I use ide intellig, do I have to install Lombok?
@mahimatolani813
@mahimatolani813 Жыл бұрын
Same question I had but if you dont install the JAR then getter setter wont work when you do userDto.getId this will not work. So maven dependency is for runtime execution JAR is for IDE development
@navyaswarup9573
@navyaswarup9573 Жыл бұрын
what is the benefit of writing in payloads? can't we use directly all fields from service class only?
@samartajshaikh2601
@samartajshaikh2601 2 жыл бұрын
nice, learning a lot.
@vishhessh
@vishhessh 2 жыл бұрын
Ctrl+Space it will show options for import
@vishalgaikwad873
@vishalgaikwad873 3 ай бұрын
ctrl+shift+o for import the package
@somduttsharma1662
@somduttsharma1662 2 жыл бұрын
hello bro hame Service inerface ki need kyu hogi
@sourabhkumar5725
@sourabhkumar5725 2 жыл бұрын
Sir daily atleast two videos try to upload
@presidentravi4492
@presidentravi4492 2 жыл бұрын
awesome till the lesson... thanks a ton bro
@Suryanarayan094
@Suryanarayan094 Жыл бұрын
Thank You
@001abdulrahman2
@001abdulrahman2 2 жыл бұрын
If i use lombook maven dependency and not install jar file then it will work or not ?
@akshatakorgaonkar6895
@akshatakorgaonkar6895 2 жыл бұрын
It doesn't work. We need to install jar file separately
@GLINCKERO
@GLINCKERO 2 жыл бұрын
You're using javax and the latest one is jakarta any specific reason?
@rishabhgupta8814
@rishabhgupta8814 2 жыл бұрын
After lombok installation k badd jo bhi hua ek bar uska explanation mil skta hai please .
@roshnil721
@roshnil721 Жыл бұрын
@Builder annotation from lombok should be used to construct objects of User and UserDto
@gc5035
@gc5035 2 жыл бұрын
Make a video on spring batch
@presidentravi4492
@presidentravi4492 2 жыл бұрын
sir daily one video... please
@surajdubey9024
@surajdubey9024 6 ай бұрын
Why we are converting dto to user and vice versa
@maheshsonawane4754
@maheshsonawane4754 2 жыл бұрын
Thanks Sir
@nishantpatial2611
@nishantpatial2611 2 жыл бұрын
Sir kya aap Flyway migration sikhaoge is playlist mai???
@AliHaider-kn6gf
@AliHaider-kn6gf 2 жыл бұрын
why are you not taking direct parameters in the parameterized constructor, it would be more efficient, quicker and more accessible.
@vaishnaviswami1158
@vaishnaviswami1158 Жыл бұрын
Hi Durgesh Sir, I still getting the error in the getid, getname in the UserServuceImpl package pls help me out
@PrastutiJain
@PrastutiJain 8 ай бұрын
Unable to run the application, not getting run as-> java application option. also suggestions are not coming in STS while writing code.
@choudhurydailyhunt
@choudhurydailyhunt Жыл бұрын
Sir kindly upload junit test video with brief with one project
@LalitKumar-cw9rf
@LalitKumar-cw9rf 7 ай бұрын
How to install lombok in MacBook
@Nitisharav
@Nitisharav 2 жыл бұрын
I am not getting update maven project option
@AshishSingh-rx4sq
@AshishSingh-rx4sq 2 жыл бұрын
Great!
@study2806
@study2806 2 жыл бұрын
is this a microservice based project?
@dhanunjaya_07
@dhanunjaya_07 Жыл бұрын
no
@Itsthelostgirl
@Itsthelostgirl Жыл бұрын
pleaaase , why we downloaded?
@akshayengineer2018
@akshayengineer2018 2 жыл бұрын
Please add 1-2 date fields also like Date of birth or Date of Register also...
@LearnCodeWithDurgesh
@LearnCodeWithDurgesh 2 жыл бұрын
Ok
@Rahul24Prajapati
@Rahul24Prajapati 10 ай бұрын
why UserDto is used, please explain the reson
@akshayshadankar8512
@akshayshadankar8512 Жыл бұрын
14:00 lombok
@akashmishra2940
@akashmishra2940 2 жыл бұрын
Love u man
@saiabhi3136
@saiabhi3136 Жыл бұрын
Making code very complex
@richajava4346
@richajava4346 Жыл бұрын
here why we using user to dto method nad dto to usermethod ..we can use directly repo also..and using responseEntity also we can do? i think in boot we are using responseentity? in boot how many ways we can create crud operation pls tell me if anybody know/ @Learn code with durgesh
@mayankrajput5458
@mayankrajput5458 10 ай бұрын
Using a DAO (Data Access Object) layer provides several advantages over exposing entities directly: 1. **Encapsulation of Database Operations**: The DAO layer encapsulates all the database operations (e.g., CRUD operations) related to an entity. This abstraction allows you to separate concerns and keep database-related code separate from the rest of your application logic. 2. **Modularity and Maintainability**: By isolating database access logic in DAO classes, you make your codebase more modular and maintainable. Changes to the underlying database schema or data access logic can be localized to the DAO layer without impacting other parts of the application. 3. **Abstraction over Database Implementation**: DAOs provide an abstraction layer over the underlying database implementation. This abstraction allows you to switch databases or make changes to the database implementation (e.g., switching from relational databases to NoSQL databases) without affecting other parts of the application. 4. **Security and Validation**: DAOs can incorporate security measures and data validation logic to ensure that only authorized operations are performed and that data integrity is maintained. This helps prevent security vulnerabilities and ensures that the data stored in the database is consistent and valid. 5. **Testing**: DAOs can be easily mocked or stubbed during unit testing, allowing you to test other components of your application without relying on a real database. This improves the speed and efficiency of testing and enables more comprehensive test coverage. 6. **Transaction Management**: DAOs can manage database transactions, ensuring that operations are executed within the context of a transaction and that changes are committed or rolled back atomically. This helps maintain data consistency and integrity in multi-step operations. 7. **Performance Optimization**: DAOs can implement performance optimizations such as caching, batching, and query optimization to improve the efficiency of database access operations. These optimizations can have a significant impact on the overall performance of your application. Overall, using a DAO layer provides a structured and flexible approach to database access, promoting code reusability, maintainability, and scalability in your application.
@AdityaDahiya99
@AdityaDahiya99 2 жыл бұрын
There is no class implementing Userrepo so how can you autowire it?
@sagardarade
@sagardarade Жыл бұрын
That's the magic of Spring Data JPA
@AdityaDahiya99
@AdityaDahiya99 Жыл бұрын
@@sagardarade what does JPA do here?
@mohdfazalshaikh8339
@mohdfazalshaikh8339 2 жыл бұрын
import java persistence is not able resolved
@amolt3592
@amolt3592 2 жыл бұрын
where can i get project source code
@dnyaneshwarbandgar5338
@dnyaneshwarbandgar5338 2 жыл бұрын
👌👌
@RahulSingh-rs8iq
@RahulSingh-rs8iq 2 жыл бұрын
lombo kya hota hai @durgesh bhaiiya ?
@mahimatolani813
@mahimatolani813 Жыл бұрын
library which is used to reduce boilerplate code else we have to manually create getter,setter,toString method we can use this library and the annotations make our LOC(lines of code) less and make our code more readable.
@Shivanijain-g5p
@Shivanijain-g5p 11 ай бұрын
Entity import nhi ho rahi hai yr
@ghanshyamsinghal9335
@ghanshyamsinghal9335 Жыл бұрын
sir i completely copied your code but it is not creating table .please help
@aniketsaini572
@aniketsaini572 Жыл бұрын
I know this is late but I changed javax imports to jakarta , then table was created
@NikkhatShaikh
@NikkhatShaikh 2 жыл бұрын
sir in my case after create user entity database is created but table is not created . plz give me solution . anyone plz give me solution
@AshishSingh-rx4sq
@AshishSingh-rx4sq 2 жыл бұрын
Check your database connections and Annotations over the entity class and if it is right imports are added or not
@Vithal_Nivargi
@Vithal_Nivargi 2 жыл бұрын
pls, check annotation whether you used or not
@julian5267
@julian5267 2 жыл бұрын
It is because of the springboot starting program is not able to find the entities defined . Try putting in EntityScan("package of entities") in the springBootapplication class.
@arunsinghrajpoot5363
@arunsinghrajpoot5363 8 ай бұрын
source code where to find
@oletimanikanta3473
@oletimanikanta3473 Жыл бұрын
How can we send user password 😮 to client
@shantanusonawane4322
@shantanusonawane4322 Жыл бұрын
Table is not Created Automatically..
@anikeshagrawal4718
@anikeshagrawal4718 11 ай бұрын
Did you find the solution for that?
@yaqubfarooqui8431
@yaqubfarooqui8431 11 ай бұрын
How to get source code, any one can tell me?
@sheikhquadeer5965
@sheikhquadeer5965 Жыл бұрын
not a beginner friendly , you dont need to make it so complex
@bhushanpawar3633
@bhushanpawar3633 10 ай бұрын
Are tumne users naam diya hai
@minnihosahh6875
@minnihosahh6875 2 жыл бұрын
Apreciando a una mujer tan hermosa. 2:10 sentadillas son unos LIKESEX.Uno muchas y un buen ejercicio. 5:25 Se deja ver que hay muy buenos resultados 😍👍 Saludos desde la Cd.. de world loss mortales abian apreciado tan hermosa mujer
@amirahmedshaikh5333
@amirahmedshaikh5333 6 ай бұрын
there is no update option in my sts project
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 158 МЛН
99.9% IMPOSSIBLE
00:24
STORROR
Рет қаралды 31 МЛН
Best of CES 2025
14:50
The Verge
Рет қаралды 638 М.
Spring boot 🔥🔥💯💯| Creating REST API using spring boot in one  video in Hindi
1:08:58
Mind-Blowing Humanoid Robot Walked Outside (The Internet Exploded)
13:51
🔥Creating Complete Category API in one video | Backend Course [Hindi]
33:42
Learn Code With Durgesh
Рет қаралды 39 М.
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 158 МЛН