Create the file [table_name].hbm.xml, open it with a text editor and write the mapping.
Once you have the mapping, you can run hbm2java.
Paul
I know we need to open the file in text editor and manually edit the file. But what is the syntax like creating one map (one class mapped to two tables)?
Thanks for all your help.