3
回答

@JFinal 你好,想跟你请教个问题:
业务逻辑是必须要操作两个数据源,
从A数据源中查询数据---写入B数据源----回写操作结果到A数据源中
由于做了幂等处理,因此操作中不需要事务,如何在JFinal 中实现
附错误信息---------------
java.sql.SQLException: When @@GLOBAL.ENFORCE_GTID_CONSISTENCY = 1, updates to non-transactional tables can only be done in either autocommitted statements or single-statement transactions, and never in the same statement as updates to transactional tables.