Skip to content

Releases: majdbousaad/Magna-project

8th Release

07 Feb 17:45
Compare
Choose a tag to compare
8th Release Pre-release
Pre-release

Solutions

  1. Adding CarTask class
  2. Adding a spring batch job to ApplicationConfiguration class that writes some data of database's data to a csv file
  3. Scheduling this task every minute with RestController

Problem

No problem yet

7th Release

01 Feb 17:46
681081c
Compare
Choose a tag to compare
7th Release Pre-release
Pre-release

Solutions

  1. Adding custom configurations classes in order to enable the transactional annotation.
  2. Removing Vehicle_Passenger table with mappedBy.
  3. Adding controllers for super classes.

Problem

No problem yet

6th Release

31 Jan 13:18
4f65281
Compare
Choose a tag to compare
6th Release Pre-release
Pre-release

Solutions

  1. Adding @ManyToOne relation
  2. Adding more exceptions
  3. Adding repositories for superclasses to fetch their entities

Problem

  1. No transactional

5th Release

30 Jan 18:26
Compare
Choose a tag to compare
5th Release Pre-release
Pre-release

Solution

  1. Adding @JsonManagedReference and @JsonBackReference around the relational entities
  2. Adding Exceptions
  3. Custom queries to fetch super classes

Problems

  1. No transactional
  2. OneToOne relation only

1st Release

30 Jan 11:49
Compare
Choose a tag to compare
1st Release Pre-release
Pre-release

Problems

  1. 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.
  2. All entities are sequenced with the same sequence.
  3. No relations yet

4th Release

29 Jan 21:03
Compare
Choose a tag to compare
4th Release Pre-release
Pre-release

Solution

  1. Adding @JsonManagedReference and @JsonBackReference around the relational entities

Problems

  1. No transactional
  2. OneToOne relation only

3rd Release

29 Jan 21:01
Compare
Choose a tag to compare
3rd Release Pre-release
Pre-release

Solutions

  1. Refactoring the packages to look more elegant
  2. Creating a custom query to find the car id
  3. Adding OneToOne relation for Driver and Car entities

Problems

  1. Infinite loop caused by the relation as shown in screenshots folder

2nd Release

29 Jan 21:00
Compare
Choose a tag to compare
2nd Release Pre-release
Pre-release

Solutions

  1. Adding strategy TABLE_PER_CLASS.
  2. Adding @SequenceGenerator

Problems

  1. Still no relations.
  2. Cannot look for ids in SuperClasses using the regular crudRepository interface