Skip to content

Instantly share code, notes, and snippets.

@Axxiss
Last active December 22, 2015 14:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Axxiss/6486156 to your computer and use it in GitHub Desktop.
Save Axxiss/6486156 to your computer and use it in GitHub Desktop.
Adding Hibernate to a Maven project.
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId>
<version>4.2.4.Final</version>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-annotations</artifactId>
<version>3.5.6-Final</version>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>5.1.26</version>
</dependency>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment