Skip to content
This repository has been archived by the owner on Mar 15, 2021. It is now read-only.

fingo/grails-hibernate-filter

 
 

Repository files navigation

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