<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=rgregorie" rel="nofollow">Romeo Gregorie</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-3176?redirect=false" rel="nofollow">SPR-3176</a></strong> and commented</p>
<p dir="auto">I was exploring Spring remoting with the jpetstore sample from 2.0.2 release and wasted half a day trying to figure "...table not found..." errors and additionally created hsql database files ending with the \r char.</p>
<p dir="auto">It turned out the shell script has DOS line ending. Unfortunately, I did not search here first. Issue SRP-305 reported in 2004 !? addresses the same issue.</p>
<p dir="auto">Could someone please fix this issue, so nobody wastes time on it any more. And while you are at it, why not remove the DOS characters all together, from the code too. I doubt they are needed even on the win platform.</p>
<hr>
<p dir="auto"><strong>Affects:</strong> 2.0.2</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="398051153" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/5035" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/5035/hovercard" href="https://github.com/spring-projects/spring-framework/issues/5035">#5035</a> shell scripts in samples should not have DOS line delimiters (<em><strong>"duplicates"</strong></em>)</li>
</ul>
<p dir="auto">2 votes, 1 watchers</p>
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=chrisdutz" rel="nofollow">Christofer Dutz</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-9246?redirect=false" rel="nofollow">SPR-9246</a></strong> and commented</p>
<p dir="auto">I implemented a custom PersistenceUnitManager to allow easy merging of persistence-contexts. Unfortunately I cannot use this with Spring 3.1 anymore. Unfortunately the class is implemented in a way, that makes it impossible to extend it in a sensible way.</p>
<p dir="auto">Here a link to my custom implementation and it's description:<br>
<a href="https://dev.c-ware.de/confluence/display/PUBLIC/Multiple+persistence.xml+in+a+multi-module+application" rel="nofollow">https://dev.c-ware.de/confluence/display/PUBLIC/Multiple+persistence.xml+in+a+multi-module+application</a></p>
<p dir="auto">The problem is that the method: preparePersistenceUnitInfos is throwing an IllegalStateException because of multiple persistence-contexts with the same name. Because persistenceUnitInfoNames and persistenceUnitInfos are private, I have no way of overriding the functionality of that class without cloning the entire class, which would be really ugly.</p>
<hr>
<p dir="auto"><strong>Affects:</strong> 3.1 GA</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="398116044" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/13565" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/13565/hovercard" href="https://github.com/spring-projects/spring-framework/issues/13565">#13565</a> DefaultPersistenceUnitManager must not reject multiple PersistenceUnits with the same name eagerly (<em><strong>"duplicates"</strong></em>)</li>
</ul>