jaygajera17 / E-commerce-project-springBoot

This project serves as an easy-to-understand setup for beginners , providing a base foundation in Spring Boot , MVC & hibernate.
https://jaygajera17.github.io/E-commerce-project-springBoot/
587 stars 600 forks source link

DAO interfaces #59

Closed Mbazie-Kone closed 7 months ago

Mbazie-Kone commented 9 months ago

I added the DAO interfaces and made the classes that implement them as Impl This makes the code cleaner.

jaygajera17 commented 9 months ago

i am not able to understand how you improve the code ? your impl class has the same logic which written in the dao file.

Mbazie-Kone commented 8 months ago

I didn't change the logic of the DAO, I simply separated the interface from its implementation so as to have cleaner code and leave the DAO isolated for future implementations. I apologize for the lack of clarity with which I made this change in the code.