使用注解式声明事务
<bean id=transactionManager class="..." >
<property name="sessionFactory" ref="..." />
</bean>
<tx:annotation-driven transaction-maganer="..." />
使用sessionFactory则需要注解@Transactional
否则 throw Could not obtain transaction-synchronized Session for current thread!