A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCA Java SE 8 Programmer I Study Guide 1Z0-808
this week in the
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..
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