Register / Login
this forum made possible by our volunteer staff, including ...
Roel De Nijs
Stephan van Hulst
Object Relational Mapping
Hibernate Mapping an "interface" and "inharitance" at the same time
posted 4 years ago
Hi there friends this is my very first topic
Im kinda new in hibernate, and ive been dealing with a problem for a long time
i wanna map a class that implements and interface and extends another class,
can you guys help me out with this?
this is just an example of what i want to do
public Class CashPayment extends CreditCardPayment extends Payment
the thing is that i want to have diferent tables for each class, and i dont want to use a discriminant, dont ask me im just not allow to use that at work :S
ive read several post and review the 3 ways hibernate handles inheritance but i havent seen an example of what im trying to do
hope you can help me ....
It is sorta covered in the
JavaRanch Style Guide
Boost this thread!
Why an "engine" for workflow ?
Help on Webservice
Sorting TreeSet using Comparator