GORM Inside And Out
summary
GORM claims to give Hibernate‑level ORM power with far less config by treating classes under grails-app/domain as persistent, adding methods like addToX/removeFromX, and auto‑providing id, save (which validates and returns null on failure) and dynamic finders. It demos how dbCreate modes (create/drop/update), schema export and mapping blocks control schema, and shows a tiny runtime methodMissing prototype that builds SQL from finder names — the prototype works and mirrors GORM’s approach.
AI-written summary · about
chapters (11)
- 0:00Introduction to GORM
- 1:36GORM architecture and defaults
- 7:38Defining domain relationships
- 11:27Managing collections and threads
- 16:50Ownership and cascading
- 21:54Schema management and configuration
- 30:20Advanced mapping and separation
- 37:31Persistence and lifecycle
- 47:26Domain constraints and validation
- 55:54Query mechanisms
- 1:10:50Advanced queries and wrapping up








