History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: GRAILS-1046
Type: Bug Bug
Status: Closed Closed
Resolution: Cannot Reproduce
Priority: Blocker Blocker
Assignee: Graeme Rocher
Reporter: Wang Qi
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Grails

unique constraints doesn't work

Created: 18/Apr/07 06:17 AM   Updated: 23/Apr/07 05:12 AM
Component/s: Persistence
Affects Version/s: 0.5-RC1
Fix Version/s: 0.5-RC1

Time Tracking:
Not Specified

Environment: only test on windows xp sp2 home edition


 Description  « Hide
unique constraints doesn't work.

in IdentDynamicMethod.java, line 49, domainClass is null if using unique
constraint in domain class.

see this post.



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order

Sergey Nebolsin - 22/Apr/07 08:10 AM
This should be related to cascading validation specifically, simple unique constraint works fine for me.

Graeme Rocher - 23/Apr/07 05:12 AM
cascading validation no longer descends into the owning side of a relationship, this issue shouldn't occur (i couldn't repdroduce)