Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Integration Testing _ Children not being commited

 
Niall Loughnane
Ranch Hand
Posts: 209
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am creating an integration test for 2 database objects where there is a mapping,

child1 -> child2
where child1 contains a child2 instance,

But when child1 is stored into the database with a child2 reference, child2 is not stored into the database,

any ideas?

Thanks,

Niall
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic