This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Testing and the fly likes Integration Testing _ Children not being commited Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Engineering » Testing
Bookmark "Integration Testing _ Children not being commited" Watch "Integration Testing _ Children not being commited" New topic
Author

Integration Testing _ Children not being commited

Niall Loughnane
Ranch Hand

Joined: Dec 07, 2006
Posts: 203
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
 
wood burning stoves
 
subject: Integration Testing _ Children not being commited
 
Similar Threads
NoSuchBeanDefinitionException in Spring
Inheritance with two Children?
Thread
lists inside a list :(((
Dynamically Generate JSON Data.