Hello, I'm using appfuse 2 with Spring 2.5.6 and hibernate, and I need to connect to a second Oracle database. I have created a second set of applicationContext files where I named my second dataSource and my second SessionFactory. But I get an exception when I try to deploy, No unique bean of type [org.hibernate.SessionFactory] is defined: expected single matching bean but found 2. Am I missing a step somewhere, how do I wire up the second sessionFactory so that only the specific daos use it, and all othersd use the first database.
Thanks in advance, Nelle -- View this message in context: http://appfuse.547863.n4.nabble.com/Exception-trying-to-configure-two-session-factories-tp2075886p2075886.html Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net For additional commands, e-mail: users-h...@appfuse.dev.java.net