Unfortunalelly it is a Hibernate or Grails bug:
http://jira.grails.org/browse/GRAILS-9285
The solution is remove compound primary key id generator: 'assigned', composite: ['notification', 'recipientUser']
.
For compoun primary key joins doesn't work. Also order by is not working properly.