Saving a grails object with a composite id

Posted by Jared on Stack Overflow See other posts from Stack Overflow or by Jared
Published on 2009-07-16T13:19:16Z Indexed on 2010/04/08 21:03 UTC
Read the original article Hit count: 188

Filed under:
|
|

The answer to this may be obvious but how do you save an object, in grails, that has a composite id. I have an object that has a composite id including a long and a date and I am trying to save an instance of the object from the update method of another classes controller, and using (object).save() isn't working. Any tips or suggestions?

© Stack Overflow or respective owner

Related posts about grails

Related posts about composite-key