Switch branches/tags
Clone or download
Pull request Compare This branch is 30 commits ahead of appcela:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
classes/artifacts/hibernate-filter-example/exploded/hibernate-filter-example-0.1.war/META-INF
gradle/wrapper
hibernate-filter-example
hibernate-filter-plugin
.gitignore
.travis.yml
CHANGELOG
LICENSE.txt
README.md
gradle.properties
gradlew
gradlew.bat
settings.gradle

README.md

grails-hibernate-filter

Description

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:

  1. hibernate-filter-plugin - with plugin code
  2. hibernate-filter-example - with example application using plugin

Usage

Build Plugin File

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

Running example application

To run example application use command:

./gradlew hibernate-filter-example:bootRun

Use plugin in your application

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

Usage

Please refer to the official Grails Hibernate Filter Plugin for usage.

Continuous integration server

Build Status