This week's book giveaway is in the Testing forum. We're giving away four copies of The Way of the Web Tester: A Beginner's Guide to Automating Tests and have Jonathan Rasmusson on-line! See this thread for details.
(This is just an example, the system does not have persons and dogs.)
I have the standard joined inheritance structure, but recently I had to add a specialization of Person that only contains a bidirectional oneToMany relationship. The mapped is being done by the "Dog" object so besides the dogs table I need to create no new tables. In addition, Person has other specializations with their own tables.
There is no "PERSON_WITH_DOGS" table since it's not necessary. How do I annotate this?