Mapping duplicate domain class name having different packages using autoImport in Grails

Hi, Recently one of my friend asked me whether there is a mechanism in grails to handle the use-case where we have different packages but having same domain name. Here we are having duplicate domain class names in different package … Continue reading

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 static mapping ={ version false … Continue reading