Skip to content

Class hierarchy persistance strategies (course "Java Enterprise", it-academy.by, Minsk, starting date 03.03.2022)

Notifications You must be signed in to change notification settings

extensaman/JD2Task09

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

JD2Task09

Class hierarchy persistance strategies (course "Java Enterprise", it-academy.by, Minsk, starting date 03.03.2022)

Create three classes

  1. Task - has the following fields
  • id
  • name
  • description
  1. HomeTask extends Task - has additional fields
  • startDate
  • endDate @Embedded
  • performer (type Person [has two fields first and last name, make them Embeddable]) @Embedded
  • accepter (type Person [has two fields first and last name, make them Embeddable])
  1. WorkTask extends Task - has additional field
  • cost

In three git branches, implement 3 inheritance strategies: 1 - Table per class hierarchy 2 - Table per subclass 3 - Table Per Concrete class mapping

Write there some data from the main method. Check through tests on H2, connect checkstyle, jacoco.

About

Class hierarchy persistance strategies (course "Java Enterprise", it-academy.by, Minsk, starting date 03.03.2022)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages