posted 5 years ago
Sandy I have moved your thread, to our ORM boards, where the object relation mapping experts hang out.
posted 4 years ago
Are you referring to the applicationContext.xml? If you are using the BasicDAO from Morphia, you should extend it using your DAO implementation. Then you configure your extended DAO in your appContext.xml the normal way you would any normal Spring bean. If you are referring to the Connection object from Mongo, be sure that the Mongo connection you get is already connection pooled. Have a look here: