Most tutorial I have been using are too slow, gernal, and I always ran into problems. This was the one of the only tutorial that really allowed me to get the project down and not run into problems because you showed everything in detail. I really appreciate the java, spring, hibernate, and postgres tutorials.
This video provides a clear and thorough explanation, making it easy to understand. It would be beneficial to include additional videos covering topics such as Spring Security, pagination, communicating with other APIs/endpoints, sessions, caching, and various real-time modules. These topics are essential for real-time project development and would greatly benefit viewers looking to delve deeper into practical applications. Thanks in advance.
After creating that mapper function i'm still getting this error Cannot resolve method 'getId' in 'Employee' but i've set all getter and setter anotations in those files
After creating that mapper function i'm still getting this error Cannot resolve method 'getId' in 'Employee' but i've set all getter and setter anotations in those files
After creating that mapper function i'm still getting this error Cannot resolve method 'getId' in 'Employee' but i've set all getter and setter anotations in those files
It is not a good practice to expose your entity object to api endpoints directly. In this case we are using only internal apis that is why it might not matter that much but as soon as we introduce external apis or open our apis to be used by 3rd party directly then we need to use DTOs instead of entity directly
Amazing tutorial you put together! Seriously, it was super insightful and really helped clear things up. Great job, and keep up the awesome work!. Bro you missed cover the exception, it is not working actually
Amazing video, thank you so much! It was so well explained! I was wondering, how could we optimized those classes/interfaces. I did make a generic Service and Repository, so it can be use for more than one Entity, is that correct? if so, is there other ways to optimaze? like other classes that could be generic? Sorry if its a dumb question, I'm new to this
Getting the below error, what would be the cause? Factory method 'dataSource' threw exception with message: Failed to load driver class org.postgresql.Driver in either of HikariConfig class loader or Thread context classloader
After creating that mapper function i'm still getting this error Cannot resolve method 'getId' in 'Employee' but i've set all getter and setter anotations in those files
Yeah even I get that problem while using lombok. Instead, I would just generate the getters and setters manually in the source option to resolve this, so please try that. And Even I don't know why the lombok annotations are not working properly many times.
I am having a question here is SimpleJpaRepository class is annotated with @Repository and @Transactional annotations but if we write our own methods in the repository interface, will this be applicable for those methods or not.
The @Repository and @Transactional annotations on SimpleJpaRepository do apply to custom methods in your repository interface with the default settings. If you require custom transactional behavior, you will need to add the @Transactional annotation to your custom methods with the specific configuration you need.
After creating that mapper function i'm still getting this error Cannot resolve method 'getId' in 'Employee' but i've set all getter and setter anotations in those files
After creating that mapper function i'm still getting this error Cannot resolve method 'getId' in 'Employee' but i've set all getter and setter anotations in those files
!!!!please help!!!!!i have a problem when i create the EmployeeMapper and try to put the getId etc , it now recocnise the previus @getter command and o ahve error when put this getter , why ?
After creating that mapper function i'm still getting this error Cannot resolve method 'getId' in 'Employee' but i've set all getter and setter anotations in those files
Hi. I am gettting below error after try to run POST request from postman, "createEmployee" java.lang.NullPointerException: Cannot invoke "com.test.ems.service.EmployeeService.createEmployee(com.test.ems.dto.EmployeeDto)" because "this.employeeService" is null Please help to resolve.
@@vinodkumar-uh3eh See if you are missing the @AllArgsConstructor in the EmployeeController class - I forgot to add it and Spring wasn't able to pass the impl of the employee service
dear sir . i am rushikesh dhane from satara maharashtra .have done graduation in BE IT.i want your help regarding this project . plz kindly mention your email or whatsaap contact.its important.hope you will help!
You taught me hibernate in just 30 mins thats all I needed thanks a lot!
Now, I understand much better, thanks for your video tutorial.
Most tutorial I have been using are too slow, gernal, and I always ran into problems. This was the one of the only tutorial that really allowed me to get the project down and not run into problems because you showed everything in detail. I really appreciate the java, spring, hibernate, and postgres tutorials.
This video provides a clear and thorough explanation, making it easy to understand. It would be beneficial to include additional videos covering topics such as Spring Security, pagination, communicating with other APIs/endpoints, sessions, caching, and various real-time modules. These topics are essential for real-time project development and would greatly benefit viewers looking to delve deeper into practical applications. Thanks in advance.
What are the contents this video has taught you can u please elaborate it ?
After creating that mapper function i'm still getting this error
Cannot resolve method 'getId' in 'Employee'
but i've set all getter and setter anotations in those files
After creating that mapper function i'm still getting this error
Cannot resolve method 'getId' in 'Employee'
but i've set all getter and setter anotations in those files
Thank you very much to share your knowledge...keep rocking, best wishes!
After creating that mapper function i'm still getting this error
Cannot resolve method 'getId' in 'Employee'
but i've set all getter and setter anotations in those files
@@deepakantoj432 install Lombok plugin in your IDE
Thanks man! I appriciate your clean and understandable content :)
Great video man thanks for sharing!
that video is a great resource to get the logic and have a quick implementation. thanks for your efforts and time.
You are truly a life savior, amazing tutorial, thank you so much Ramesh
Thank you for this video. I had an issue with using Spring Boot, and now the problem has been solved ❤❤
Thanks for this, well put together with clear explanations!
Thank you so much, I really needed content like this video
Thank you so much!! The tutorial is really helpful!
Keeping coming. Great tutorial
Thanks so much for this explanation Excellent and clear
Please make voice at good level. Project is good and adding value. Thanks alot.
perfect tutorial, thank u so much
Awesome 🤩 Thank you sooooo much❤
Very well, thank you.
Just Excellent 😀
badhiya bhaya
Thank you sir!! I had a query ->
why can't we directly use Employee (eliminating the use of DTOs)?
I think it is used to teach us some kind of design pattern used for mapping objects.
It is not a good practice to expose your entity object to api endpoints directly. In this case we are using only internal apis that is why it might not matter that much but as soon as we introduce external apis or open our apis to be used by 3rd party directly then we need to use DTOs instead of entity directly
Amazing tutorial you put together! Seriously, it was super insightful and really helped clear things up. Great job, and keep up the awesome work!. Bro you missed cover the exception, it is not working actually
Thank you so much😍😍😍
thank you so much!
Merci Beaucoup !
very nice content, thnx
Amazing video, thank you so much! It was so well explained!
I was wondering, how could we optimized those classes/interfaces.
I did make a generic Service and Repository, so it can be use for more than one Entity, is that correct? if so, is there other ways to optimaze? like other classes that could be generic?
Sorry if its a dumb question, I'm new to this
Thanks
super bro do it more
Thankue sir❤
Getting the below error, what would be the cause?
Factory method 'dataSource' threw exception with message: Failed to load driver class org.postgresql.Driver in either of HikariConfig class loader or Thread context classloader
Dear sir, do you have source code repo for this great tutorial?
Keep doing videos 😊
Sir please can you make video on how to use custome query here in this project.
thanks
34:02 Runtime Exceptions
After creating that mapper function i'm still getting this error
Cannot resolve method 'getId' in 'Employee'
but i've set all getter and setter anotations in those files
Yeah even I get that problem while using lombok. Instead, I would just generate the getters and setters manually in the source option to resolve this, so please try that. And Even I don't know why the lombok annotations are not working properly many times.
You have to install and activate the lombok plugin on your IDE so that the annotations work.
@@FEBOLE You're right, thank you!
try to install lombok jar file on your IDE
For some reason my database tables were not created when I ran the application
Are you using Community or Ultimate of Intellij? Thanks
Community free edition
I am having a question here is SimpleJpaRepository class is annotated with @Repository and @Transactional annotations but if we write our own methods in the repository interface, will this be applicable for those methods or not.
The @Repository and @Transactional annotations on SimpleJpaRepository do apply to custom methods in your repository interface with the default settings. If you require custom transactional behavior, you will need to add the @Transactional annotation to your custom methods with the specific configuration you need.
@@JavaGuides Thank you so much for quick response
Always confused with Annotations 🤯
Can you pls make a video explaination of spring security for jpa authentication using security @configuration class...it is quite confusing...pls
Hi Sir can you teach full stack angular springboot sir And also how to deploy realtime project on aws s2.
After creating that mapper function i'm still getting this error
Cannot resolve method 'getId' in 'Employee'
but i've set all getter and setter anotations in those files
Good morning, I created a similar project but the entities are not created in the postgresql database. can help me. Thanks!
What is the issue? Can you check the console logs for any errors?
No issue
@@JavaGuides
After creating that mapper function i'm still getting this error
Cannot resolve method 'getId' in 'Employee'
but i've set all getter and setter anotations in those files
@@deepakantoj432 install Lombok plugin if you are using eclipse sts ide
@@JavaGuides No i'm using intellij only.
i even added it to my dependecies while creating that spring initiaizr file
what about pagination and validation ?!
!!!!please help!!!!!i have a problem when i create the EmployeeMapper and try to put the getId etc , it now recocnise the previus @getter command and o ahve error when put this getter , why ?
same issue
try to install lombok jar file on your IDE
In my case Table is not creating , what is the solution?
Mine is also not creating. Did you get any solution?
how can we reach the codes. thanks.
Where is the Design Database?Uml
please create a complete fullstack app with React JS and Spring boot security.
After creating that mapper function i'm still getting this error
Cannot resolve method 'getId' in 'Employee'
but i've set all getter and setter anotations in those files
pls share git sourcode
Hi. I am gettting below error after try to run POST request from postman, "createEmployee"
java.lang.NullPointerException: Cannot invoke "com.test.ems.service.EmployeeService.createEmployee(com.test.ems.dto.EmployeeDto)" because "this.employeeService" is null
Please help to resolve.
how did you resolve this ?
@@vinodkumar-uh3eh See if you are missing the @AllArgsConstructor in the EmployeeController class - I forgot to add it and Spring wasn't able to pass the impl of the employee service
dear sir . i am rushikesh dhane from satara maharashtra .have done graduation in BE IT.i want your help regarding this project . plz kindly mention your email or whatsaap contact.its important.hope you will help!