Dynamically Configured Hibernate

I work with an application whose entire Hibernate configuration is dynamically configured, and the beans loaded from Entity-annotated classes. I can't seem to make IntelliJ recognize this, though googling around seems to indicate IntelliJ *does* recognize entity-annotated beans. Every solution, however, seems to require an xml configuration of some sort (persistence.xml, hibernate.cfg.xml, etc) or Spring, none of which is used by us. Just plain JPA-annotated POJOs, dynamically loaded by Hibernate.

Please sign in to leave a comment.