Register / Login
Object Relational Mapping
Hibernate transaction for subclass
Kaustubh G Sharma
posted 3 years ago
how to do below task in Hibernate?
I have class Account and two subclaases SavingAccount and LedgerAccount.
In DB side I have table Account in which I need ti maintain SavingAccount and LedgerAccount details in a column called AccountType.
What will be the entry in xml and how we do insert transaction for same.
No Kaustubh No Fun, Know Kaustubh Know Fun..
how, possibly, to encapsulate at the level of objects?
Passed JPA certification with 94% score