Plugins You can find out about all the publicly available Grails plugins.

Hibernate Jpa Provider Plugin Plugin Collection

  • Tags: jpa, hibernate
  • Latest: 1.0.0.M1
  • Last Updated: 10 January 2012
  • Grails version: 2.0 > *
0 vote
compile "org.grails.plugins:hibernate-jpa-provider:1.0.0.M1"

 Documentation  Source  Issues


Integrates Hibernate as a JPA provider


Install using the standard grails-plugin method.

Make sure you remove or comment out the following line from your project file or you will get class conflicts.



A plugin that installs Hibernate as the JPA provider and is designed to be used in conjunction with the GORM-JPA plugin.

To use this plugin you need to first install it with:

grails install-plugin hibernate-jpa-provider

And then specify the Hibernate dialect to use for your environment by editing grails-app/conf/DataSource.groovy for example:

hibernate {
    dialect = "org.hibernate.dialect.MySQL5Dialect"

To get GORM dynamic methods then install the GORM-JPA plugin:

grails install-plugin gorm-jpa