I'm currently digging myself into IDEA's Hibernate support. What I ultimately want to do, is to design a persistence model in an ER diagram and have a hibernate mapping file created accordingly.
So far I've added the Hibernate Facet to the project, created a Hibernate configuration file in the Module Settings and added a mapping file under the configuration file in the J2EE view. When I now open the ER diagram and add entities to it, the classes are generated with JPA annotations and nothing is done to the mapping file. What do I need to do so that IDEA populates the mapping file and doesn't create JPA annotations. This is with IDEA 8.