(GRAILS-9123) Fixing bug with unique constraint validation for Hibernate mapped domain classes.
Adding test case for checking hibernate mapping classes based unique constraint validation.