Andrei Ivanov opened SPR-13892 and commented
Trying to inject a custom LoadTimeWeaver into a LoadTimeWeaverAware fails, as it initially gets injected but then the LoadTimeWeaverAwareProcessor comes along and injects the default loadTimeWeaver.
<context:load-time-weaver />
<bean class="org.springframework.orm.jpa.persistenceunit.DefaultPersistenceUnitManager">
<property name="defaultPersistenceUnitName" value="compositePU" />
<property name="packagesToScan">
<list>
<value>com.test.module1.entity</value>
<value>com.test.module2.entity</value>
</list>
</property>
<property name="properties">
<props>
<prop key="eclipselink.composite-unit">true</prop>
</props>
</property>
<property name="loadTimeWeaver">
<bean class="CustomLoadTimeWeaver" />
</property>
</bean>
Affects: 4.2.4
Issue Links:
0 votes, 5 watchers
Andrei Ivanov opened SPR-13892 and commented
Trying to inject a custom
LoadTimeWeaverinto aLoadTimeWeaverAwarefails, as it initially gets injected but then theLoadTimeWeaverAwareProcessorcomes along and injects the defaultloadTimeWeaver.Affects: 4.2.4
Issue Links:
0 votes, 5 watchers