ORM Question: Abstract Class
this simplification conceptual level, if like, can specify lot more details.
in nut shell, have objecta contains objectb. objectb nothing more shell, containing 4 objects: objectc, objectd, objecte , objectf.
objectb abstract class, others concrete, each corresponding table.
if tell hibernate objectb non persistent, ignore , not create of it's children, persistent. cannot tell it persistent either, because cannot point table , column link.
here more info:
- we cannot make design changes objects, because these reused in multiple applications.
- we considered using embedded attribute, work if objectb persistent, while others not. our case opposite.
so question is how handle non persistent object contains persistent objects
thanks
More discussions in Advanced Techniques
adobe
Comments
Post a Comment