A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Refactoring for Software Design Smells: Managing Technical Debt
this week in the
OO, Patterns, UML and Refactoring
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..
Have you checked out
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