Reading data in case of Single Table inheritance strategy in hibernate

preview_player
Показать описание
In this video you will learn how to Read data in case of Table Per Class inheritance strategy in hibernate using a demo project.
Рекомендации по теме
Комментарии
Автор

There are 2 questions for you. first if you are really concerned with the actual types(run time types) of the object then why don't you have used the <code>getClass</code> method. and the second question the the first if condition is fine but in second and third if conditions why are you redundantly checking person is an instance of person. don't you think if person is an instance of Employee it will make the first part to be true always and condn becomes (true && true|false - 2 cases).

tjrjkhrjyr
Автор

It takes a good amount of time to watch a video and understand, can you please add some summary for the video in begining

sushilverma