groovy - Grails problem persisting data in join tables for many-to-many relationships -
I am having trouble maintaining domain objects where I have many-to-many relationships with a table table Class A {string name is constant = hemanyy = [bs: b]} square b {string nickname is constant = a constant hemayy = [as: A]} AA = new A (name: 'Test') BB = new B (alias: 'user') a.addToBs (b) a.save (flush: true)
Then what I expect to see
rhythm However, data remains in Table A only. However, the data remains in Table A only. Does anyone know what I am doing?
Thank you
I have this link which has many mapping of many relationships Shows a clear way of
King Jas By the way I want this time
Comments
Post a Comment