Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
dTub
Скачать

Java Spring Boot - JPA - Hibernate - H2 - Entities Inheritance Mapping - Single Table Strategy

Автор: CodeForgeYT

Загружено: 2020-07-28

Просмотров: 13938

Описание:

In the first place we will configure database connection. Later in the video we will learn how to use inheritance together with JPA and Hibernate in Java Spring Boot application. We will create abstract super class (parent class) and then two sub-classes (child classes) which will inherit all of the properties and mapping information from parent class. We will use @Inheritance annotation to specify strategy which we will use. This time it will be SINGLE_TABLE strategy. Because of that we will also have to define information about our discrimnator column using @DiscrimnatorColumn annotation. Moving forward we will also define @DiscrimnatoValue annotations on our sub-classes. Thanks to that we will be able to distinguish persisted objects entries in the database. In our sub-classes we will also use @Enumerated annotation to learn how to persist enums. In the final stage we will learn how to use inheritance in case of repositories which we will use to persist and delete our entities from the database. We will track everything using H2 web console. Keep coding!

Joined table source code: https://github.com/codeforgeyt/jpa-in...
Joined table video:    • Java Spring Boot - JPA - Hibernate - H2 - ...  

Single table source code: https://github.com/codeforgeyt/jpa-in...
Single table video:    • Java Spring Boot - JPA - Hibernate - H2 - ...  

Superclass source code: https://github.com/codeforgeyt/jpa-in...
Superclass video:    • Java Spring Boot - JPA - Hibernate - H2 - ...  

Table per class source code: https://github.com/codeforgeyt/jpa-in...
Table per class video:    • Java Spring Boot - JPA - Hibernate - H2 - ...  

Follow //CodefForgeYT on:
FB:   / codeforgeyt  
Twitter:   / codeforgeyt  
GitHub: https://github.com/codeforgeyt
Instagram:   / codeforgeyt  

Java Spring Boot - JPA - Hibernate - H2 - Entities Inheritance Mapping - Single Table Strategy

Поделиться в:

Доступные форматы для скачивания:

Скачать видео mp4

  • Информация по загрузке:

Скачать аудио mp3

Похожие видео

Java Spring Boot - JPA - Hibernate - H2 - Entities Inheritance Mapping - Joined Table Strategy

Java Spring Boot - JPA - Hibernate - H2 - Entities Inheritance Mapping - Joined Table Strategy

Java - урок 57.3 (POJO классы для Hibernate. SINGLE_TABLE strategy классов наследников)

Java - урок 57.3 (POJO классы для Hibernate. SINGLE_TABLE strategy классов наследников)

Я в опасности

Я в опасности

Chillout Lounge Radio - 24/7 Live | Smooth Background Music | Focus, Study, Work, Sleep, Meditation

Chillout Lounge Radio - 24/7 Live | Smooth Background Music | Focus, Study, Work, Sleep, Meditation

Android - Score Counter App - Table layout - Vector Asset Studio - Material Icons - Click Events

Android - Score Counter App - Table layout - Vector Asset Studio - Material Icons - Click Events

Java Spring Boot - JPA - Hibernate - H2 - Paging with Filtering and Sorting

Java Spring Boot - JPA - Hibernate - H2 - Paging with Filtering and Sorting

Java Spring Boot - JPA - Hibernate - H2 - Entities Inheritance Mapping - @MappedSuperclass

Java Spring Boot - JPA - Hibernate - H2 - Entities Inheritance Mapping - @MappedSuperclass

Молчание Бабарико и неожиданная встреча Колесниковой. Лукашенко убрал министра: подробности

Молчание Бабарико и неожиданная встреча Колесниковой. Лукашенко убрал министра: подробности

Java Spring Boot - JPA - Hibernate - H2 - Entities Inheritance Mapping - Table Per Class Strategy

Java Spring Boot - JPA - Hibernate - H2 - Entities Inheritance Mapping - Table Per Class Strategy

The Windows 11 Disaster That's Killing Microsoft

The Windows 11 Disaster That's Killing Microsoft

Музыка лечит сердце и сосуды🌸 Успокаивающая музыка восстанавливает нервную систему,расслабляющая

Музыка лечит сердце и сосуды🌸 Успокаивающая музыка восстанавливает нервную систему,расслабляющая

Java Spring Boot - REST Web Service - Security - CORS Policy Configuration - Allow All - Fix

Java Spring Boot - REST Web Service - Security - CORS Policy Configuration - Allow All - Fix

Spring Boot | Пример двунаправленной связи «многие ко многим» в Spring Data JPA | JavaTechie

Spring Boot | Пример двунаправленной связи «многие ко многим» в Spring Data JPA | JavaTechie

Red Smoke — Deep House Chill Mix 2026 | Night Vibes

Red Smoke — Deep House Chill Mix 2026 | Night Vibes

Kubernetes — Простым Языком на Понятном Примере

Kubernetes — Простым Языком на Понятном Примере

Spring Boot | Exploring Asynchronous 🚀 Calls with @Async Annotation | JavaTechie

Spring Boot | Exploring Asynchronous 🚀 Calls with @Async Annotation | JavaTechie

Кто пишет код лучше всех? Сравнил GPT‑5.2, Opus 4.5, Sonnet 4.5, Gemini 3, Qwen 3 Max, Kimi, GLM

Кто пишет код лучше всех? Сравнил GPT‑5.2, Opus 4.5, Sonnet 4.5, Gemini 3, Qwen 3 Max, Kimi, GLM

Java Spring Boot - Spring Web MVC - Navigation - Setting Active Tab - Thymleaf Fragments - Bootstrap

Java Spring Boot - Spring Web MVC - Navigation - Setting Active Tab - Thymleaf Fragments - Bootstrap

Spring Boot | Spring Data JPA Transaction Management | @Transactional | JavaTechie

Spring Boot | Spring Data JPA Transaction Management | @Transactional | JavaTechie

Что такое JPA? | Реализация JPA

Что такое JPA? | Реализация JPA

© 2025 dtub. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: infodtube@gmail.com