christian wrote:
Use <subclass extends="SuperClass"> in a new file with Hibernate.
Ahhh, from reading this doc:
http://www.hibernate.org/hib_docs/refer ... tance.htmlI didn't realize that the <subclass> tag didn't have to be inside the parent <class> tag, but now looking at the hibernate dtd, I see that I can :)
christian wrote:
JDO doesn't define any mappings, by the way, you must have used a product that has proprietary object/relational mapping.
I don't understand what you mean when you asy that JDO doesn't define any mappings? Doesn't this dtd define (to a limited extent) how the mappings work?
http://java.sun.com/dtd/jdo_1_0.dtd
I realize that JDO leaves a lot up to whoever implements the JDO spec. But isn't the persistence-capable-superclass attribute of the class tag pretty much defined by Sun?
Thanks again for pointing out the subclass thing, I think it's much cleaner if it's in another file.