Releases: majdbousaad/Magna-project
Releases · majdbousaad/Magna-project
8th Release
Solutions
- Adding CarTask class
- Adding a spring batch job to ApplicationConfiguration class that writes some data of database's data to a csv file
- Scheduling this task every minute with RestController
Problem
No problem yet
7th Release
Solutions
- Adding custom configurations classes in order to enable the transactional annotation.
- Removing
Vehicle_Passenger
table with mappedBy. - Adding controllers for super classes.
Problem
No problem yet
6th Release
Solutions
- Adding
@ManyToOne
relation - Adding more exceptions
- Adding repositories for superclasses to fetch their entities
Problem
- No transactional
5th Release
Solution
- Adding
@JsonManagedReference
and@JsonBackReference
around the relational entities - Adding Exceptions
- Custom queries to fetch super classes
Problems
- No transactional
- OneToOne relation only
1st Release
Problems
- The classes Car and MotorCycle are stored in the same table. this makes some problems when adding an entity because some other columns must not be null.
- All entities are sequenced with the same sequence.
- No relations yet
4th Release
Solution
- Adding
@JsonManagedReference
and@JsonBackReference
around the relational entities
Problems
- No transactional
- OneToOne relation only
3rd Release
Solutions
- Refactoring the packages to look more elegant
- Creating a custom query to find the car id
- Adding OneToOne relation for Driver and Car entities
Problems
- Infinite loop caused by the relation as shown in
screenshots
folder
2nd Release
Solutions
- Adding strategy TABLE_PER_CLASS.
- Adding @SequenceGenerator
Problems
- Still no relations.
- Cannot look for ids in SuperClasses using the regular crudRepository interface