Oreilly - Understanding the Grails 3 Domain Model
by Ken Kousen | Released April 2017 | ISBN: 9781491988053
In this video course, expert Java trainer and consultant Ken Kousen shows you how to model domain classes in Grails 3 and reviews all the built-in constraints on domain properties. He walks through how to write unit tests for constraints, reviews GORM relationships that use the hasMany and belongsTo key words, and uses the Grails 3 console to explore a sample domain. From there, he examines the basic save and delete methods added to domain classes, shows how cascade deletes work, and reveals how to flush the Hibernate session. Finally, he wraps up the course by showing how to work with dynamic finders, criteria queries, and where queries. Show and hide more
- An Introduction to Understanding the Grails 3 Domain Model 00:02:54
- Grails 3 Domain Classes 00:22:08
- Constraints and Properties 00:22:03
- Testing Domain Classes 00:17:00
- GORM Relationships in Grails 3 00:18:05
- The Grails 3 Console 00:23:49
- Basic CRUD and the Hibernate Session 00:14:45
- Dynamic Finders, Criteria Queries, and Where Queries 00:20:23
- Understanding the Grails 3 Domain Model: A Summary 00:03:57
Show and hide more