This is a fork of the original Grails Hibernate Filter Plugin created from fork appcela/grails-hibernate-plugin to make it work with the Grails 3 and Hibernate 4.
This repo contains two projects:
- hibernate-filter-plugin - with plugin code
- hibernate-filter-example - with example application using plugin
Clone the repository and execute in main directory command:
./gradlew hibernate-filter-plugin:jar
You can publish it to your maven local repository using:
./gradlew hibernate-filter-plugin:publishToMavenLocal
To run example application use command:
./gradlew hibernate-filter-example:bootRun
Add dependency in build.gradle:
compile "org.grails.plugins:grails-hibernate-filter:0.2.0"
Configure dataSource in application.yml
configClass: org.grails.plugin.hibernate.filter.HibernateFilterDomainConfiguration
Please refer to the official Grails Hibernate Filter Plugin for usage.