Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
xml
xml
<bean id="org.codehaus.aware.unitofwork.UnitOfWorkProtocol"
     class="org.codehaus.aware.unitofwork.UnitOfWorkProtocol"
    singleton="false">

    <property name="listeners">
        <list>
            <value>org.codehaus.aware.unitofwork.hibernate.HibernateUnitOfWorkListener</value>
             ...
        </list>
    </property>

</bean>

For the Spring definition to work you have to define the UnitOfWorkProtocol to use the SpringAspectContainer and not the default one.