Video description
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.
Table of contents
- An Introduction to Understanding the Grails 3 Domain Model
- Grails 3 Domain Classes
- Constraints and Properties
- Testing Domain Classes
- GORM Relationships in Grails 3
- The Grails 3 Console
- Basic CRUD and the Hibernate Session
- Dynamic Finders, Criteria Queries, and Where Queries
- Understanding the Grails 3 Domain Model: A Summary
Product information
- Title: Understanding the Grails 3 Domain Model
- Author(s):
- Release date: April 2017
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781491988053
You might also like
video
Working with Grails 3 Controllers and Services
In this video course, expert Java trainer and consultant Ken Kousen uses a more complete domain …
book
Grails in Action, Second Edition
Grails in Action, Second Edition is a comprehensive introduction to Grails 2 focused on making you …
video
Berglund and McCullough on Mastering Grails 101
Grails is a high-productivity, convention-over-configuration web framework for the Groovy language. This brief video course begins …
video
Learning Grails
In this Learning Grails training course, expert author Mike Kelly shows you how to create dynamic, …