<bean id="hibernateTemplate" class="org.springframework.orm.hibernate3.Hibernat eTemplate">
<property name="sessionFactory">
<ref local="sessionFactory"/>
</property>
</bean>
<bean id="UserDaoImpl" class="com.vonair.nexus.user.UserHibernateDaoImpl" >
<property name="hibernateTemplate">
<ref local="hibernateTemplate"/>
</property>
</bean>
<bean id=
"UserDaoTarget" class="com.vonair.nexus.user.UserServiceImpl">
<property name="userDao">
<ref local="UserDaoImpl"/>
</property>
</bean>
<bean id="transactionManager" class="org.springframework.orm.hibernate3.Hibernat eTransactionManager">
<property name="sessionFactory">
<ref loca
l="sessionFactory"/>
</property>
</bean>
<bean id="UserDao" class="org.springframework.transaction.interceptor .TransactionProxyFactoryBean">
<property name="proxyInterfaces" value="com.vonair.nexus.user.IUserService"/>
<property name="transactionManager">
<ref bean="transactionManager"/>
</property>
<property name="target">
<ref bean="UserDaoTarget"/>
</property>
<property name="transactionAttributes">
<props>
<prop key="add">PROPAGATION_REQUIRED</prop>
<prop key="modify">PROPAGATION_REQUIRED</prop>
<prop key="delete">PROPAGATION_REQUIRED</prop>
<prop key="findByUniqueCode">PROPAGATION_REQUIRED,readOn ly</prop>
</props>
</property>
</bean>
<bean id="
userAction"
class="com.vonair.nexus.user.UserAction" >
<constructor-arg> <ref bean=
"UserDao"/></constructor-arg>
</bean>