5 !%!,-///%0#/1%#!-
!%#,-///%0#/1%##-
!%%#4#,-///%0#/1%#(#%
6 ///%0#/1%#(#%%(#%
!%
///%0#/1%#!
///%0#/1%#!%!
!%
///%0#/1%##
///%0#/1%##%#!%->
<bean,-%%%)#*-
#%%,-%0#/1(#24#%%)#*+
#->
2 <property#,-74#-#$,-#%%#(#0!
-/>
5 <property#,-7$#8#%%-#$,-(#09
#87$#-/>
</bean>
:;定义事务管理器(声明式的事务) <
6 <bean,-#%#&##-
#%%,-%0#/1(#2'(##%#&#
#->
<property#,-%%%)#*-0,-%%%)#*-/>
</bean>
:;配置 "9=<
<bean,-$%"##-#%%,-($%1*%#.%"#
->
2 <property#,-%%%)#*-0,-%%%)#*-/>
5 </bean>
<bean,-$%"#-
#%%,-%0#/1#%##%#>!*
)#*+#->
6 :;配置事务管理器 <
<property#,-#%#&##-0,-#%#&##-
/>
<property#,-#-0,-$%"##-/>
2 <property#,-!*0#%-#$,-($%1*%#
?#"#-/>
2 :;配置事务属性 <
2 <property#,-#%#9($%->
22 <props>
25 <prop1*,-@->>A=>9?9=BCADE.AD"</prop>
2 </props>
2 </property>