Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Object Relational Mapping
Hibernate transaction for subclass
Kaustubh G Sharma
Joined: May 13, 2010
Jul 22, 2013 01:10:28
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..
I agree. Here's the link:
subject: Hibernate transaction for subclass
how, possibly, to encapsulate at the level of objects?
Passed JPA certification with 94% score
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015