Database, Grails

Optimistic locking strategy in Grails

In Grails optimistic locking is achieved by version property . The Grails Domain classes has a built in property called "version". This property can be used for optimistic locking. Although you can remove this property [java] static mapping ={ version false } [/java] but its not a very good practice. The initial value of...

by Uday Pratap Singh
Tag: grails domain version
01-Sep-2012