We're trying to use DataNucleus 3.0.1 w/JPA, which requires JDO >= 3.0, in a Virgo-3.0 OSGi environment and identified that the Spring ORM bundle specifies an "Import-Template" entry of "javax.jdo.*;version="[2.0.0, 3.0.0)";resolution:=optional,". JDO 3.x, after my own cursory review, is a backward-binary-compatible release with JDO 2.x. The maven artifactId has changed to "jdo-api", though. Attached is a patch relative to trunk\org.springframework.orm that updates the pom & OSGi manifest to include anything up to but not including JDO 4.0.0.
Note that this is true whether or not you're using DataNucleus's JPA or JDO API.
I don't really expect this to be fixed in the 3.0 branch, although it would be nice. Minimal fix would have to be in the trunk.
|Update spring-orm template.mf to be inclusive of javax.jdo 3.0||Closed|
|Test against jdo-api 3.0||Resolved|