This is a fork of the original Grails Hibernate Filter Plugin created from fork alexkramer/grails-hibernate-filter to make it work with Grails 4.0.0 > *, Hibernate 5, and GORM 7.
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:
for Grails < 3.x
repositories {
maven { url "https://dl.bintray.com/goodstartgenetics/grails3-plugins/" }
}
dependencies {
compile "org.grails.plugins:hibernate-filter-plugin:0.5.5"
}
for Grails 4.x
repositories {
maven { url "https://maven.pkg.github.com/vsachinv/grails-hibernate-filter" }
}
dependencies {
compile "org.grails.plugins:hibernate-filter-plugin:4.0-M2"
}
for Grails 5.x
repositories {
maven { url "https://maven.pkg.github.com/vsachinv/grails-hibernate-filter" }
}
dependencies {
compile "org.grails.plugins:hibernate-filter-plugin:5.0-M1"
}
Please refer to this project's wiki for usage.