Groovy ORM (GORM) Inside Out
summary
GORM claims to remove Hibernate complexity by using convention over configuration and provides concrete features: automatic id/version, addToComments and remove methods, cascading deletes via belongsTo, embedded components that flatten into parent tables, constraints-based validation on save, dynamic finders (findAllByTitleLike), where-queries, and executeQuery for HQL. Adapters support Hibernate, JPA, MongoDB and Cassandra; multiple different datasources run via the data‑sources plugin. Demonstrations show these mechanisms work end‑to‑end for typical Grails apps.
AI-written summary · about
chapters (24)
- 0:00Introduction
- 0:37Session Overview
- 2:33Questions
- 3:03Java ORM
- 4:12Hybrid ORM
- 4:34Hibernate Configuration
- 5:58Convention Over Configuration
- 6:32Grails App Domain
- 8:02Persistent Entities
- 8:54Bookmarks
- 18:15Declaring Comments
- 22:00Bookmarks and Notes
- 25:57Tablespace
- 28:00Column Names
- 29:51Add to Comments
- 34:15Bookmark
- 35:59Service Bookmark
- 39:04Constraints
- 39:59Saving a bookmark
- 41:22List method
- 42:30List example
- 44:03Bookmark example
- 46:19Query mechanisms
- 47:58Write Hql








