Hi all,
At the moment I am unit testing my DAOs by manually constructing the sessionFactory and injecting it. I have been looking at the spring integration tests, but I cannot figure out how to manage the seperate contexts.
I *could* add all the component contexts and include the development-persistence.xml and *exclude* the applicationContext.xml, but there are other beans in appContext.
What do other people do? Do you have an aenmic appContext which just imports other context?
Thanks all.
Col


Reply With Quote