-
-
Notifications
You must be signed in to change notification settings - Fork 956
GRAILS-5101: Compound "unique" constraints incorrectly pass validation if one of the fields is null #14656
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
tiggerizzy said: |
schlogen said: |
allnightlong said: |
cake said: |
This is probably not a bug. It depends on database engine how unique index with null value works. For example for mysql unique will never fail if any of the values is null |
I am facing this as well. I'm using postgresql 9.5, grails 3.3.0, gorm 6.1.6. |
Original Reporter: wangjammer5
Environment: Not Specified
Version: 1.2-M2
Migrated From: http://jira.grails.org/browse/GRAILS-5101
The text was updated successfully, but these errors were encountered: