Forums Register Login

Hibernate transaction for subclass

+Pie Number of slices to send: Send
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.
There were millions of the little blood suckers. But thanks to this tiny ad, I wasn't bitten once.
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 777 times.
Similar Threads
how, possibly, to encapsulate at the level of objects?
Passed JPA certification with 94% score
Transaction Level
Design Question
java.lang.Nullpointer Exception
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 19:45:02.