Closed spring-projects-issues closed 11 years ago
Oliver Drotbohm commented
Apparently the Mongo driver is not having a valid OSGi manifest yet. Querydsl also does not package the Bundlor generated manifest correctly (see this issue for details)
Dmitry Axenenko commented
Method MappingMongoConverter.findTypeToBeUsed use Class.forName It's not valid for OSGI. Maybe use Thread.currentThread().getContextClassLoader().loadClass? Or some better?
Dmitry Axenenko commented
Implemenatation of method " MappingMongoConverter.findTypeToBeUsed " uses "Class.forName". It doesn't work for OSGI platform. May be it will be better to use "Thread.currentThread().getContextClassLoader().loadClass" instead? Or can you propose better solution for it?
Mark Pollack commented
This is now delegating to DefaultTypeMapper which in turn is now using Spirng's ClassUtils.forName that will be ok for osgi
Mark Pollack opened DATAMONGO-194 and commented
Investigate status of mongodb library and other deps for osgi readyness
Affects: 1.0 M3
Issue Links:
5 votes, 4 watchers