Data Access Layer¶
Data access layer in iVIS is implemented using standard JPA (using Hibernate as ORM provider).
All entities are mapped to the corresponding tables. All tables (except authorization ones) have prefix “dbo_” that means “database object”. Except of authorization tables (it relate with ideological considerations).
JPA classes located in com.imcode.entities of ivis-core module in iVIS project.
JPA entities diagram
Relations in DB also are implement by standard JPA.
Embedded entities don’t have id and can’t exist without parent entity.
List of all tables and description¶
Represents AcademicYear entity.
Represents Activity entity.
Represents AfterSchoolCenterSection entity.
Represents Application entity.
Represents ApplicationForm entity.
Represents ApplicationFormQuestion entity.
Represents ApplicationFormQuestionGroup entity.
Represents ApplicationFormStep entity.
Represents Category entity.
Represents EntityVersion entity.
Represents Guardian entity.
Represents Incident entity.
Represents many to many relation between Incident and Category entities.
Represents many to many relation between Incident and Pupil entities.
Represents Issue entity.
Represents many to many relation between Issue and Category entities.
Represents many to many relation between Issue and Pupil entities.
Represents LogEvent entity.
Represents Person entity.
Represents Address embeddable in Person.
Represents Email embeddable in Person.
Represents Phone embeddable in Person.
Represents Priority entity.
Represents Pupil entity.
Represents AfterSchoolCenterSchema embeddable in Pupil.
Represents many to many relation between Pupil and Guardian entities.
Represents Role entity.
Represents many to many relation between Role and Permission entities.
Represents School entity.
Represents SchoolClass entity.
Represents Diary embeddable in SchoolClass.
Represents ServiceTypeEnum element collection, which equals embeddable in School.
Represents SchoolTransport entity.
Represents Status entity.
Represents Truancy entity.
Represents User entity.
Represents many to many relation between User and Role entities.