grails-plugins/grails-hibernate-plugin — pull request #1 by michaelcameron (2013-05-22 03:20:46+00:00)
Title: GRAILS-9773 Configurable persistence context by datasource

Only wire up the default datasource for persistence interception by default, but allow configuration of secondary datasources for persistence interception.

The behavior of only wiring up the default datasource described in [GRAILS-9773](http://jira.grails.org/browse/GRAILS-9773) is actually caused by a bug in `HibernatePersistenceContextInterceptor` that is fixed in https://github.com/SpringSource/grails-data-mapping/pull/122. This change will continue that behavior explicitly but also allo create a config option (https://github.com/grails/grails-doc/pull/137).