i have common columns in Person , and getters setters for discriminator column if i have to access it from person class
so when i am saving the Employee or Student record and then retrieving Person record, It is giving me discriminator column value as NULL
but after restarting the server its giving me value accordingly
if i manually set the value of discriminator column value and then save and retrieve then its giving me the value (Do i need to manaully set the discriminator column value?)
then what is benefit of using discriminator column
why should i not use OneToMany relation of person with employee and student having column Type and via enum i can enter the perspective value into the column
and i will also apply lazy fetching on that columns