Win a copy of The Business Blockchain this week in the Cloud forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Composite

 
Slavko Glisic
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dir Sirs,
I hava a problem .
Well, I have Table Centro, Departamento and Centrodepartamento(which have one key of Centro and another of Departamento)and I have persistent class for Centro ,Departamneto and Centrodepartamento
Mapping files looks like this:



And when I call


from the class which manage records,I get updated Centro, and Departamento but not Centodepartamento(for example if Centro have relation with three Departamentos in CentroDepartamento table and I delete one Centrodepartamento from Centro's Set of Centrodepartamentos in Table Centrodepartamento still there is relation to that Departamento )

Any help will be appreciated!
Thanks
Slavko
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic