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.
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.