Author | Message |
---|---|
abhishek_sharma
Posts: 79
|
Posted 22:48 Apr 21, 2009 |
Respected Professor Sun, I am referring the existing csns.model.forum and hbm.forum in order to complete Homework 3 . While going through the code I found that there is no .xml file exist for forum and post under hbm.forum but still create scripts are present in csns.ddl. Is it possible to generate create script for that class in .ddl without its .xml file I am really very confuse. Is I am doing any thing wrong Please Help |
cysun
Posts: 2935
|
Posted 09:51 Apr 22, 2009 |
Forum is actually mapping in the file /src/hbm/Subscribable.hbm.xml because Forum implements the Subscribable interface (and in Hibernate it's considered a subclass of Subscribable). Last time we didn't have time to cover subclass mapping, but we'll spend some time on that in today's lecture. |