This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
I'm using Spring 3.0.5. I'm running a JUnittest to test db connectivity. I have
and when I run the JUnit test, the "sessionFactory" is configured fine. However, another class that is invoked in the JUnit test has an identical "sessionFactory" reference, which remains null ...
This doesn't happen when I run the real application. Any ideas why one autowiring is working and the other isn't connecting at all? When I run my application outside of the JUnit environment, the autowiring within the "WebLeadsDAOImpl" class gets connected just fine.