Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 1.23 KB

README.md

File metadata and controls

11 lines (8 loc) · 1.23 KB

The Hibernate Hijacker's Guide to the Galaxy

This plugin is a part of the re-engineering efforts going into the Multi-Tenant plugin. It is very difficult to intercept new Hibernate sessions in a non-intrusive way. Multiple plugins trying to archive this are likely to step on each other's feet. This plugin publishes intercepted Session instances to Hawk Eventing, a lightweight event broker, that multiple plugins can subscribe to.

The documentation is now hosted at GitHub Pages.

Current Issues:

  • Other plugins will not be able to set configClass in dataSource block. So grails-hibernate-filter plugin might not work.
  • Not an easy way to create sessionFactory proxy. As GrailsHibernateTemplate constructor uses SessionFactoryImpl which is a final class instead of the interface. Which makes it difficult to pass a proxy object of SessionFactoryImplementor.