wood burning stoves*
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
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: 1268

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
 
Similar Threads
Design Question
how, possibly, to encapsulate at the level of objects?
java.lang.Nullpointer Exception
Transaction Level
Passed JPA certification with 94% score