I have a situation where I can't use belongsTo on the other side of a 1-to-1 relationship. I tried using the explicit cascade from the ORM DSL, but it doesn't seem to work.
I.e.
class A {
B b
static mapping = {
b cascade: "all"
}
}
Shouldn't this force cascading?
Example:
If I have an a instance, where b should have errors, and I do a.validate(), I get no errors on either object (and yes they are attached, i.e. a.b = b).
If I do b.validate(), I get the errors.
So it is not cascading.
I am using Grails 2.0.1....
Thanks