Hibernate Jpa Provider Plugin supported by Pivotal

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

 Documentation  Source  Issues

Summary

Integrates Hibernate as a JPA provider

Installation

Install using the standard grails-plugin method.

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

plugins.hibernate=1.1.1

Description

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