Open pawaitemadisoncollege opened 9 months ago
@pawaitemadisoncollege
Hi Paula!
May I did not get all requirements but could you please check and guide me if I am wrong:
1 Design and create your database - put your ERD in your repository for review:
2 Add one DAO with full CRUD (create, read, update, delete) using Hibernate:
My project aligns with the requirement to add a DAO with full CRUD operations using Hibernate. I have implemented two repositories, BookingRepository
and TimeSlotRepository
, which serve as my DAOs. These repositories utilize Spring Data JPA and interact with the underlying database.
Create
New TimeSlot
and Booking
objects are created using the save
methods in TimeSlotRepository and BookingRepository
Read
The findAll
methods in TimeSlotRepository
and BookingRepository
provide the functionality to retrieve all time slots and bookings, respectively.
Update
Updating data for time slots and bookings is achieved by calling the save
methods. The changes made to the objects are automatically reflected in the database.
Delete
delete
methods in TimeSlotRepository
and BookingRepository
enable the removal of time slots and bookings.4 Implement Log4J and remove all System.out.printlns I finally set logs and now it is working well
5 Paula could you please help to find the example for this step: Time log/journal and project plan updated
Thank you!
Hi @misterSokor. In the interest of time at this point in the semester, I am focusing feedback on areas for improvement:
ERD
DAO unit Test
Other
GET ALL SLOTS AVAILABLE: [com.petersokor.TimeSlotManager.entity.TimeSlot@7416635a, com.petersokor.TimeSlotManager.entity.TimeSlot@20ed6d83, com.petersokor.TimeSlotManager.entity.TimeSlot@46424119, com.petersokor.TimeSlotManager.entity.TimeSlot@1348eaf2, com.petersokor.TimeSlotManager.entity.TimeSlot@7eeedb39, com.petersokor.TimeSlotManager.entity.TimeSlot@35242012, com.petersokor.TimeSlotManager.entity.TimeSlot@61bae526, com.petersokor.TimeSlotManager.entity.TimeSlot@35f19c99, com.petersokor.TimeSlotManager.entity.TimeSlot@3dceae0d, com.petersokor.TimeSlotManager.entity.TimeSlot@29fe2d16, com.petersokor.TimeSlotManager.entity.TimeSlot@1f5b7eda, com.petersokor.TimeSlotManager.entity.TimeSlot@26772cfc, com.petersokor.TimeSlotManager.entity.TimeSlot@6e0140f9, com.petersokor.TimeSlotManager.entity.TimeSlot@36cf46b2]
Time Log and Project Plan
Can you point me to these? Are they current? There were examples in the demo application if you need them.
This is a reminder to complete the items I identified as needing improvement for #3 Respond to that issue when it is ready for review.
As reminder, checkpoint 2 includes:
When your checkpoint is ready for review please respond to this issue.