Hibernate Jpa Provider Plugin supported by SpringSource
Dependency :
compile ":hibernate-jpa-provider:1.0.0.M1"
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:And then specify the Hibernate dialect to use for your environment by editing To get GORM dynamic methods then install the GORM-JPA plugin:
grails install-plugin hibernate-jpa-provider
grails-app/conf/DataSource.groovy for example:hibernate {
dialect = "org.hibernate.dialect.MySQL5Dialect"
…
}grails install-plugin gorm-jpa