Комментарии:
add this if you are getting this error
"org.hibernate.InstantiationException: No default constructor for entity 'com.example.demo.student.Student' "
public Student() {
// Required by JPA
}
Ve Aleyküm Selam from Türkiye
Ответитьelhamdulillah brother. ALLAH bless you
ОтветитьCodeFirst Approach👍
Ответитьوعليكم السلام و رحمة الله وبركاته from algeria
Ответитьwhat even is a bean? how do all the @ symbols just work?? 😵💫
ОтветитьWa alaikum Salam.Good For beginners..! Keep it Up Nelson.
ОтветитьThank you sir
Ответитьwhere is the github link please
Ответитьare there any prerequisites for this video??
Ответитьthis really helped me in my ap csa class!
ОтветитьExcellent course. Covering many of the fundamental parts of Spring Boot and very very well explained. Thank you so much for this video!!
ОтветитьI completely don't understand the concept of SequenceGenerator for an entity. You just skipped over it briefly as if it was obvious, without proper explanation of what's going on.
ОтветитьHi Amigo, I do i identify the corrupted table i keep on having this error 41 common frames ommitted
ОтветитьReally good video !
ОтветитьAleykum selam
ОтветитьIs it important to pass by java J2EE before get in spring boot ?
@amigoscode
Very helpful , thank you man :)
ОтветитьEvery time getting error message when tried to connect database: Database driver: undefined/unknown
ОтветитьAnyone getting an error when trying to use "psql" -- Try using "psql postgres" -- I eventually discovered it was because I already had Postgres installed via home-brew, and that command worked.
Ответитьtanks man you help lot of us ... keep it up
ОтветитьMash'Allah! Jazak'Allah for these video dear Brother!
ОтветитьYo! Thanks a lot man! Really appreciate it!
Ответитьwhy do we have to comment out the dependency in the beginning? You didn't mention the reason why. Commenting it out or not makes no diff??
ОтветитьHey friend, don't come to Brazil, that thumb sign is a sign of a faction.
Heheehe
I'm joking with you at the same time, but unfortunately it's reality in Brazil... any hand gesture is a sign of faction...
Awesome my dude! Thoroughly yet concisely explained! Well done!
ОтветитьYou should explain Sequence a bit better. Im coming from symfony and I did not know what it was.
Ответитьstruggling w the CommandLineRunner logic. A CommandLineRunner is returned, and the lambda overrides the run?
Ответитьmy wallet is blocked can someone unblock my wallet and withdraw my 50 usdt i need it (crucial hand march neither topic defy sing noble bounce funny orchard liquid)
ОтветитьThanks for amazing course. It was good introduction to spring boot framework.
ОтветитьBro just casually dropped a well-structured, monetizable content for free, thank you brother.
ОтветитьMy god.... You're my hero!
ОтветитьWhen you are doing a course please specify that is for apple users. On widows the commands are different. The process is different.
Ответитьexolain how to use the power shell, using wondows and i am having problems. Ny helps is appreciated
ОтветитьSuper helpful, thanks
Ответитьvery very useful course, I didn’t know SpringBoot at all previously but now I have gained much knowledge!
ОтветитьCompletely watched this just now. High Quality Learning Experience Thank you So Much @amigoscode❤🔥✨
ОтветитьThose who are using lombok and face this InstantiationException The error No default constructor for entity 'com.demo.REST_API_Demo.student.Student' occurs because Hibernate requires a default constructor (a no-argument constructor) to create instances of entity classes using reflection. Although you're using Lombok's @NoArgsConstructor, the default constructor might not be generated properly due to conflicts with other annotations (like JPA's @Entity) or Hibernate's requirements.
Why It Happens:
Lombok and Hibernate Compatibility:
Lombok does generate a no-argument constructor with @NoArgsConstructor. However, Hibernate might not recognize it due to technical limitations or class-loading issues. This is a common issue when using Lombok with JPA entities. solution :public Student() {}Those who are using lombok and face this InstantiationException The error No default constructor for entity 'com.dinidu.REST_API_Demo.student.Student' occurs because Hibernate requires a default constructor (a no-argument constructor) to create instances of entity classes using reflection. Although you're using Lombok's @NoArgsConstructor, the default constructor might not be generated properly due to conflicts with other annotations (like JPA's @Entity) or Hibernate's requirements.
Why It Happens:
Lombok and Hibernate Compatibility:
Lombok does generate a no-argument constructor with @NoArgsConstructor. However, Hibernate might not recognize it due to technical limitations or class-loading issues. This is a common issue when using Lombok with JPA entities. solution
This is a great couse. I am an independent QA consultant and used this course to understand how to create API so that I can apply the lessons here to as how to test APIs.
one suggestion is as far as possible do not use intellij ultimate version as most of us will have community edition. it becomes difficult to follow through.
Also I did not understand the need of StudentConfig class as it appeared dummy once we start using "save" in respective service methods. Please include purpose of such classes in the amendments to this course.
Lastly - add a lesson at the end to create docker of this jar and host it on local kubernates.
thanks - lots of gratitude and love Nelson -- from India. Keep up the good work