Grails, Technology

Grails unique constraint optimization part 2

In the previous blog Grails performance optimization - Unique constraint we have optimized Grails unique constraint. Now in this blog we will check another use case and will optimize unique constraint according to it. Suppose we have two domains having the following structure: [code] class Address { String addressLine1 String...

by Deepak Kumar Mittal
Tag: grails constraints
30-Dec-2014

Grails

Grails performance optimization – Unique constraint

Grails unique constraint is very powerful way to check duplicate keys in any DBMS, but it has some impact on application performance. Lets check it by one example: Suppose we have one domain having the following structure: [code] class User { String firstName String lastName String emailId static constraints = { ...

by Deepak Kumar Mittal
Tag: grails constraints
20-Dec-2014