Adding Hibernate dependencies

Our goal is to start using Hibernate for a console based project. Searching the Maven repository for hibernate-entitymanager provides a suitable artifact:

<dependency>
  <groupId>org.hibernate</groupId>
  <artifactId>hibernate-entitymanager</artifactId>
  <version>5.1.0.Final</version>
</dependency>

The MI department provides a dedicated mi-maven-archetype-jpa-hibernate. See the section called “Intellij IDEA on top of Maven” for archetype repository configuration.