Overrides the default behaviour and first checks if a PersistentCollection instance has been initialised using the
wasInitialised() method before cascading
A BeanDefinitionParser that will scan for GORM entities to configure and automatically setup an
appropriate Hibernate SessionFactory for usage with GORM.
An implementation of the GrailsDomainClass interface that allows Classes
mapped in Hibernate to integrate with Grails' validation, dynamic methods
etc.
An implementation of the GrailsDomainClassProperty interface that allows Classes mapped in
Hibernate to integrate with Grails' validation, dynamic methods etc.
Patches Hibernate to prevent this issue
http://opensource.atlassian.com/projects/hibernate/browse/HHH-2763
TODO: Remove this patch when HHH-2763 is resolved
This method will set the target object to read-only if it is contained with the Hibernate session,
Preventing Hibernate dirty-checking from persisting the instance