Advertising
advertising
related pastes to tag 'groovy'
- 2053745 - Derived Property Tests: java hibernate grails groovy gorm
-
- import org.codehaus.groovy.grails.commons.ApplicationHolder as AH
- /* Purpose: get info on Hibernate's interaction between derived properties and cache */
- /* Finds:
- The derived property is always searchable, as this involved a database search.
- The derived property of an object will always be null if the version that was saved is still in the cache
- How one retrieves the object, get, findBy*, findAllBy*, ... does not matter. It will still use the cached version.
- 2053623 - Derived Property Test: java grails groovy