<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=roland.hauser" rel="nofollow">Roland Hauser</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-8693?redirect=false" rel="nofollow">SPR-8693</a></strong> and commented</p>
<p dir="auto">We use Datanucleus (Version 3.0.1) for our persistence layer. Datanucleus, in turn, needs the JDO-API Version 3.0.0.<br>
Now, to be able to use the newest version of JDO/Datanucleus in Spring, I need to patch the "Import-Package" derective in the manifest<br>
of the orm library on every update to correct the version range from [2.0.0, 3.0.0) to [2.0.0, 3.1.0):</p>
<p dir="auto">== Original ==<br>
Import-Package:<br>
...<br>
javax.jdo;version="[2.0.0, 3.0.0)";resolution:="optional",javax.jdo.datastore;version="[2.0.0, 3.0.0)"<br>
...</p>
<p dir="auto">== Patched ==<br>
Import-Package:<br>
...<br>
javax.jdo;version="[2.0.0, 3.1.0)";resolution:="optional",javax.jdo.datastore;version="[2.0.0, 3.1.0)"<br>
...</p>
<p dir="auto">If I won't do so, resolution could not be done by the OSGi runtime. A fix would be cool, it would prevent me<br>
to provide a patched version of the orm library.</p>
<p dir="auto">Regards,<br>
Roland</p>
<hr>
<p dir="auto"><strong>Affects:</strong> 3.0.5, 3.0.6</p>
<p dir="auto"><strong>Issue Links:</strong></p>
<ul dir="auto">
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398114370" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/13309" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/13309/hovercard" href="https://github.com/spring-projects/spring-framework/issues/13309">#13309</a> Update spring-orm template.mf to be inclusive of javax.jdo 3.0 (<em><strong>"duplicates"</strong></em>)</li>
</ul>
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=quaff" rel="nofollow">Yanming Zhou</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-6408?redirect=false" rel="nofollow">SPR-6408</a></strong> and commented</p>
<p dir="auto">javax.persistence.spi.PersistenceUnitInfo add three methods in JPA2</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="@Override
public String getPersistenceXMLSchemaVersion() {
	return &quot;1.0&quot;;
}

@Override
public SharedCacheMode getSharedCacheMode() {
	return SharedCacheMode.NONE;
}

@Override
public ValidationMode getValidationMode() {
	return ValidationMode.NONE;
}"><pre class="notranslate"><code class="notranslate">@Override
public String getPersistenceXMLSchemaVersion() {
	return "1.0";
}

@Override
public SharedCacheMode getSharedCacheMode() {
	return SharedCacheMode.NONE;
}

@Override
public ValidationMode getValidationMode() {
	return ValidationMode.NONE;
}
</code></pre></div>
<p dir="auto">please add it to org.springframework.orm.jpa.persistenceunit.MutablePersistenceUnitInfo</p>
<hr>
<p dir="auto"><strong>Issue Links:</strong></p>
<ul dir="auto">
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398101962" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/11371" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/11371/hovercard" href="https://github.com/spring-projects/spring-framework/issues/11371">#11371</a> Spring 3.0 not compatible with Hibernate 3.5 beta3</li>
</ul>
<p dir="auto"><strong>Referenced from:</strong> commits <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/spring-projects/spring-framework/commit/0ba83755467dabdc6c133d663ece66815407913d/hovercard" href="https://github.com/spring-projects/spring-framework/commit/0ba83755467dabdc6c133d663ece66815407913d"><tt>0ba8375</tt></a></p>
<p dir="auto">2 votes, 6 watchers</p>