<beans>
   <bean id="transactionManager" class="org.springframework.jdbc.datasource.DataSourceTransactionManager">
      <property name="dataSource"><ref local="dataSource"/></property>
   </bean>

   <bean id="userRegisterService" class="org.springframework.transaction.interceptor.TransactionProxyFactoryBean">
      <property name="target">
         <bean class="UserRegisterService">
            <property name="dataSource"><ref bean="dataSource"/></property>
         </bean>
      </property>
      <property name="transactionManager"><ref bean="transactionManager"/></property>
      <property name="transactionAttributes">
         <props><prop key="*">PROPAGATION_REQUIRED</prop></props>
      </property>
   </bean>
</beans>