• 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
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!