snimavat opened a new issue, #14553:
URL: https://github.com/apache/grails-core/issues/14553

   When there is a domain with composite Id, and if one of the field in 
compositeId is changed, saving the domain (even with flush) will not persist 
the change to database. Dirty checking works, but the save wont update the 
values, no update query is being fired in hibernate logs, subsequent select 
wont find new values. This used to work earlier.
   
   Grails: 3.3.2
   Also reproducible with Gorm 6.1.11.BUILD-SNAPSHOT
   
   Attached sample has a **CompositeIdSpec** which reveals the issue
   
[bugwork-composite-id.zip](https://github.com/grails/grails-data-mapping/files/2297376/bugwork-composite-id.zip)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to