aspose file tools*
The moose likes Object Relational Mapping and the fly likes Hibernate transaction for subclass Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Hibernate transaction for subclass" Watch "Hibernate transaction for subclass" New topic
Author

Hibernate transaction for subclass

Kaustubh G Sharma
Ranch Hand

Joined: May 13, 2010
Posts: 1281

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: http://aspose.com/file-tools
 
subject: Hibernate transaction for subclass