Fix CacheManager with same name grails-cache-ehcache

[box type=”shadow”]Or: “getting parallel deployment to work when using EhCache”[/box] Caching During our regular Grails development work, we apply both Hibernate with second level caching and Spring method level caching. They both use EhCache by default. This seems to be the only mature implementation choice for the Grails platform. All this used to work fine (so we thought) until we … Lees verder Fix CacheManager with same name grails-cache-ehcache

Grails domain classes and special presentation requirements

In Grails we often use our domain objects directly as backing model for presentation purposes and only for specialized situations we create value holder objects or DTOs. Beginning Grails developers know how to display individual entity properties pretty easy in a GSP, such as the name of a fictional domain class…

or

but sometimes struggle when new presentational requirements come in … Lees verder Grails domain classes and special presentation requirements

Grails GORM – You Know SQL. You Know Queries. Here’s GORM.

Today I gave a presentation about Grails Object Relational Mapping (GORM) and HQL for the teams. Everybody is pretty SQL-minded and I wanted to show them what — instead of resorting to native SQL in Grails applications right away — GORM and Hibernate can do for them, not just from getting the same queries as your own hand-crafted SQL but … Lees verder Grails GORM – You Know SQL. You Know Queries. Here’s GORM.