The Grails Framework 2.4.4

See the light - agile, industrial strength, rapid web application development made easy

(Quick Reference) # autoTimestamp ## Purpose Disables auto timestamping when set to false ## Examples
    class Book {
        …
        static mapping = {
            autoTimestamp false
        }
    }
## Description Usage: `autoTimestamp(boolean)` By default when you have properties called `dateCreated` and/or `lastUpdated` in a domain class, Grails automatically maintains their state in the database. You can disable this by setting `autoTimestamp` to `false`:
    static mapping = {
        autoTimestamp false
    }
| Quick Reference (hide)