GBase 8s
适配迁移
文章

GBase 8s报错 Transactions not supported

发表于2023-04-21 10:08:36797次浏览0个评论

问题描述:"detail": "Could not open JDBC Connection for transaction; nested exception is java.sql.SQLException: Transactions not supported" 

解决方案:不支持事务的原因是库没有开启日志,使用下面两条命令修改数据库日志模式:(不需要停库,只需要把库的连接都断掉)

ontape -s -L 0 -B database-name -t /dev/null #缓冲日志模式

ontape -s -L 0 -U database-name -t /dev/null #非缓冲日志模式

评论已关闭