hibernate
Purpose
Thehibernate plugin configures the Hibernate implementation of GORM.Examples
An example domain class:class Book {
String title
Date releaseDate
Author author
}Description
Refer to the section on GORM in the Grails user guide which details how to create Grails domain classes.Configured Spring Beans:dialectDetector- An instance of HibernateDialectDetectorFactoryBean that attempts to automatically detect the Hibernate Dialect which is used to communicate with the database.hibernateProperties- AMapof Hibernate properties passed to theSessionFactorylobHandlerDetector- An instance of SpringLobHandlerDetectorFactoryBean that attempts to automatically detect the Spring LobHandler to use based on the database.sessionFactory- An instance of the Hibernate SessionFactory classtransactionManager- An instance of Spring's HibernateTransactionManager classpersistenceInterceptor- An instance of HibernatePersistenceContextInterceptor that abstracts away how persistence is used from the controller/view layer so that Grails can be used without GORM.openSessionInViewInterceptor- An instance of GrailsOpenSessionInViewFilter that deals with Grails' Session management.

