May 25th, 2012, 07:55 AM
Change contextSource base dynamically
For testing purposes I want to add several entities and later check them. To avoid nasty side effects I'm creating a container (a child of "base") and creating the entities there. To do this after creating the container I want to set it as the new base branch so all test operations happen inside it.
So that's what I do and the base property is correctly modified. Unfortunately all operations are still executed in the former branch as if the base property is not considered after initialization. Is this the case? Can it be changed dynamically?