I have nullable one-to-many relations in Grails/GORM and started getting
"object references an unsaved transient instance" exceptions from Hibernate.
In the Grails forms, selecting a blank/no-selection value for the field sent
params.myOtherObject.id==''. GORM then tries to create a new empty object
and during the
save(flush:true), it complains with the exception: