在我基于spring4的项目中,不知何故我不能使用 @Transactional <tx:annotation-driven>
@Transactional
<tx:annotation-driven>
如何使用Spring事务属性(作为java代码)开发它?有可能吗?如下所示。
transactionObject.setTimeout(environment.getProperty("env.dev.timeout");