Constraints let you define the rules for validating a domain object. They are defined under the static constraints closure in a domain object. Three examples might be nullable, blank and email.
Posted Date:- 2021-12-01 09:02:42
What exactly do you know about Listeners and closure in Groovy?
What are the features Groovy JDK is equipped with?
What are constraints in Grails? Give me three examples.
Explain Gorm events. Provide two examples.
What is the difference between a dynamic finder, a HQL query and a criteria?
What are the basic requirements for Groovy?
Is it possible for you to integrate the Groovy with other applications that are not based on Java?
What are named queries? Where do you define them?
What does the removeFrom() function do in a domain object?
What is the difference between calling a read() and a get() in GORM?
Explain what lock() is in GORM and why you would use it.
Explain what joinTable does within GORM.
Explain the different options available to dbCreate.
What is the _Events.groovy file? What can it be used for?
How do I create a custom script in Grails?
What is the difference between run-app and run-war?
What happens when you call grails bug-report?
What are some things I need to be careful about when working with the Grails console?
What is the difference between validate() and save()?
What are Grails command objects? How can they be used in validation?
Give me two examples of constraints that affect database generation.
Give me two examples of constraints that affect the display within scaffolding views.
What are constraints in Grails? Give me three examples.
How do I inspect the built-in HSQLDB database included with Grails?
How do I get a hold of my Spring beans in the Grails console?
I have a hibernate HBM file I want to include in my Grails application. Where do I edit this?
Explain Gorm events. Provide two examples.
How can you run sql directly in Grails?
What is the difference between the Grails console, shell and interactive modes?
Explain the difference between the Config.groovy and BuildConfig.groovy files.
Explain the concept of externalized configuration. What is this good for?
How do I edit the web.xml file of my grails application?
What do you understand by metaprogramming?
List down some of the advantages of Groovy.
What is the difference between a dynamic finder, a HQL query and a criteria?
What are named queries? Where do you define them?
What does the removeFrom() function do in a domain object?
What is the difference between calling a read() and a get() in GORM?
Please explain what lock() is in GORM and why you would use it.
Please explain what joinTable does within GORM.
What is the _Events.groovy file? What can it be used for?
How do I create a custom script in Grails?