This content has been marked as final.
Show 4 replies
-
1. Re: POJO Inheritance and EJB3
epbernard Jul 29, 2005 5:53 PM (in response to mexcell)I've answered on the old formu but please forward discussions to the new one.
-
2. Re: POJO Inheritance and EJB3
mexcell Aug 5, 2005 2:09 PM (in response to mexcell)It appears that this is fixed by using @EmbeddedSuperclass.
Thanks to everyone that helped. Now we just need @EmbeddedSuperclass to work without the hibernate descriptor. (Should be next release from the other messages on the forums about @EmbeddedSuperclass.) -
3. Re: POJO Inheritance and EJB3
ashetty Dec 30, 2005 8:00 AM (in response to mexcell)Hi Mexcell,
What about persistent relationships? I had the same problem. However, my abstract classes also had bidirectional relationships. Spec says that @EmbeddedSuperClass (now @MappedSuperClass) cannot be target of persistent relationship(FK).
Where do you model your association? I doubt it could be the customizable subclasses. -
4. Re: POJO Inheritance and EJB3
sunnyyfl Jan 6, 2006 8:15 AM (in response to mexcell)"mexcell" wrote:
It appears that this is fixed by using @EmbeddedSuperclass.
Thanks to everyone that helped. Now we just need @EmbeddedSuperclass to work without the hibernate descriptor. (Should be next release from the other messages on the forums about @EmbeddedSuperclass.