Spring 4, Hibernate 4, Facets & Java Configuration

I am using Java configuration for Spring and Hibernate and I am trying to use IDEA 13 to auto create the model objects.  I am assuming that I need to have a Hibernate facet setup in order for IDEA to auto generate the model objects.  Is there a way to setup a facet and have IDEA recognize the Java configuration instead of a hibernate.cfg.xml file.

2 comments
Comment actions Permalink

This would be very useful - I also don't want to put XML configuration files in my source purely to drive the IDE behaviour.

0
Comment actions Permalink

I agree, Java Config has become the preferred option. It would be a great feature to have in Intellij.

0

Please sign in to leave a comment.