views:

394

answers:

1

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?

A: 

Never mind, I'm retarded. I had ONE property without the nullable:true constraint that I wasn't passing a value to.