Hi all, I was trying to use "ContextSourceAndDataSourceTransactionManager" with "DifferentSubtreeTempEntryRenamingStrategy", so I wrote the following in my spring-context.xml.
But the setter of renamingStrategy in ContextSourceAndDataSourceTransactionManager.java is protected and it isn't recognized.Code:<bean id="transactionManager" class="org.springframework.ldap.transaction.compensating.manager.ContextSourceAndDataSourceTransactionManager"> <property name="contextSource" ref="poolingTransactionContextSource"/> <property name="dataSource" ref="dataSource"/> <property name="renamingStrategy" ref="tempEntryRenamingStrategy"/> </bean>
So, shouldn't it be public setRenamingStrategy(...) instead of protected setRenamingStrategy(...)?
Regards,
Rafael.


Reply With Quote