Hi,
In section 6.2 of the LDAP reference documentation is an example of a configuration for using transactions. This sample seems to not work with the Spring LDAP 1.3. The defined bean "transactionManager" is created by a constructor.
But when I take a look in the source, there is no such constructor defined; only the default constructor exists. Shouldn't it be rather:Code:<bean id="transactionManager" class="org.springframework.ldap.transaction.compensating.manager.ContextSourceTransactionManager"> <constructor-arg ref="contextSource" /> </bean>
as a setter for contextSource exists?Code:<bean id="transactionManager" class="org.springframework.ldap.transaction.compensating.manager.ContextSourceTransactionManager"> <property name="contextSource" ref="contextSource" /> </bean>


Reply With Quote