I have two tables that were originally mapped as a one-to-one relationship, but subsequently re-mapped using Hibernate's inheritance capabilities. Here's the quirk: as these tables were originally mapped as a one-to-one relationship, each table has a version number (mapped using Hibernates <version> tag). When I re-did the mapping as a joined-subclass, I noticed that Hibernate does not support the version tag on a joined-subclass. Is there any particular reason for this?
My theory is that because the two physical tables are now joined in Hibernate, it doesn't make sense for there to be two different versions on one table. Is this correct?
Will I ultimately have to remove the version on the subclass table?
Thanks.
|