Implement GRAILS-10063, set readonly flags for Hibernate session, criteria and query in readonly transactions.
reduce dirty checking overhead
add CompileStatic and generics type parameter to HibernateGormValidationApi and HibernateGormEnhancer
Use CompileStatic for AbstractDatastoreApi, GormInstanceApi and GormStaticApi
Implement GRAILS-10064 Make it possible to set the OSIV session to read-only by default
Hold MetaClass of Javassist proxy in the MethodHandler
Fix NPE in CS mode (reported GROOVY-6137)
Fix NPE when grails.gorm config is null
Add propertyMissing / methodMissing handling to proxy metaclass to support inheritance