It appears to me that the Hiberate facet's ability to generate persistence mappings from an existing schema is not ready for prime time. I've been trying to use it to generate Hibernate .hbm.xml files for a schema consisting of 50-100 tables, going one table at a time. I've been getting Hibernate validation errors that won't go away, broken HQL, and some tables that simply lock up IntelliJ and force me to kill the process and start again. All these do is produce an empty .java source file and an .hbm.xml mapping with a childless root tag.
I'm six tables into the process and headed nowhere.
I'm running IntelliJ EA build 7330 on Windows XP Pro SP2.