<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=memelet" rel="nofollow">Barry Kaplan</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-3434?redirect=false" rel="nofollow">SPR-3434</a></strong> and commented</p>
<p dir="auto">The changes from 2.0.3 to 2.0.4 has cause some side effects. In 2.0.3 the PABPP would use beanFactory.getBean(..) to obtain the EMFs. In 2.0.4 it first beanFactory.isTypeMatch(..)</p>
<p dir="auto">When the EMF has not yet been created in the context, AbstractEntityMangagerFactoryBean.getObjectType will return EntityManagerFactory.class, but PABPP compares the class against EntityManagerFactoryInfo.class. Hence due the abitrary ordering of bean creation most of my EMFs fail to be discovered by the PABPP.</p>
<p dir="auto">PABPP.findNamedEntityManagerFactory(..) returns EntityManagerFactory (not EMFInfo), so why does it check for the EMFInfo.class?</p>
<p dir="auto">I cannot simply have PABPP depend on the LCEMFBs because it defined in a generic config file, where the LCEMFBs are defined in component specific config files.</p>
<hr>
<p dir="auto"><strong>Affects:</strong> 2.0.4</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="398077121" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/8054" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/8054/hovercard" href="https://github.com/spring-projects/spring-framework/issues/8054">#8054</a> PersistenceAnnotationBeanPostProcessor fails to match unitName of lazy loaded EMFs in some cases (<em><strong>"duplicates"</strong></em>)</li>
</ul>
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=xun.wang.us" rel="nofollow">Xun Wang</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-9302?redirect=false" rel="nofollow">SPR-9302</a></strong> and commented</p>
<p dir="auto">Due to recent release of Jackson 2.0, hope it is on the road map to give Spring user the option to use Jackson 2.0 for Jackson related json functions. Jackson 2.x has different package name for its classes to let code with 1.x be able to coexist. Maybe a new set of the Spring classes need to be created for the same reason for those who like to use the 2.x while others can remain on 1.x. For example MappingJacksonJsonView remains but with MappingJacksonJsonView2 for the 2.x Jackson. I believe someone has better idea how to get it done.</p>
<hr>
<p dir="auto"><strong>Affects:</strong> 3.0.5</p>
<p dir="auto"><strong>Attachments:</strong></p>
<ul dir="auto">
<li><a href="https://jira.spring.io/secure/attachment/19613/MappingJacksonHttpMessageConverter.patch" rel="nofollow">MappingJacksonHttpMessageConverter.patch</a> (<em>1.65 kB</em>)</li>
</ul>
<p dir="auto"><strong>Sub-tasks:</strong></p>
<ul dir="auto">
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398151195" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/14141" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/14141/hovercard" href="https://github.com/spring-projects/spring-framework/issues/14141">#14141</a> Backport "Use Jackson 2.0 for Jackson based json processing such as MappingJacksonJsonView"</li>
</ul>
<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="398118720" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/13972" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/13972/hovercard" href="https://github.com/spring-projects/spring-framework/issues/13972">#13972</a> Support for Jackson 2.X (<em><strong>"is duplicated by"</strong></em>)</li>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398154570" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/14589" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/14589/hovercard" href="https://github.com/spring-projects/spring-framework/issues/14589">#14589</a> Add support for jackson 2.0 message converters MappingJacksonHttpMessageConverter refers to the older ObjectMapper package and methods (<em><strong>"is duplicated by"</strong></em>)</li>
</ul>
<p dir="auto">9 votes, 10 watchers</p>