thanks, it works right now.
i just added these lines to applicationContext.xml file

<aop:config>
    <aop:advisor id="managerTx" advice-ref="txAdvice" pointcut="execution(*
*..service.*Service.*(..))" order="0"/>
</aop:config>

<tx:advice id="txAdvice">
    <tx:attributes>
        <tx:method name="*"/>
    </tx:attributes>
</tx:advice>



mraible wrote:
> 
> Does this work in a test? If so, then it's probably because your class
> name doesn't end in Manager.
> 
> Matt
> 

-- 
View this message in context: 
http://www.nabble.com/lazy-initialization-failure-%40-service-tf4762436s2369.html#a13623499
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to