Grails Transient properties in a domain class

Transient properties are useful to carry additional meta data in a domain class without a direct database mapping required.  Transient properties can be useful to handle read only information queried from multiple databases.

  • static transients = [‘manuf’, ‘make’, ‘model’]
  • String manuf
  • String make
  • String model

About admin

Richard has worked in the Information Technology field for 25 years on a variety of platforms and lines of business.
This entry was posted in Groovy Grails. Bookmark the permalink.