使用Spring,可以通过在外部事务上下文中接收消息。(JmsTemplate.java:469)Causedby: oracle.jms.AQjmsException: could not use local transaction commit in a global transaction
at oracle.jms.AQjmsSe
我是否可以使用声明性事务管理,使用注释来管理每条消息的事务,而不是像这样以编程方式管理它们:private voidprocess(jmsMessage);
jmsMessage.acknowledge(); //session is still open within the transactionjmsTemplate的配置将sessionTrasacted设置为tru
.\org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Sessionfor transaction; nested exception is org.hibernate.TransactionException: JDBC begin transaction failed