WSO2 API管理器';Can';当autocommit=true';

WSO2 API管理器';Can';当autocommit=true';,wso2,Wso2,WSO2 API管理器在添加API时引发以下错误: [2013-08-08 16:39:00,062] ERROR - ApiMgtDAO Error while adding the API: org.wso2.carbon.apimgt.api.model.APIIdentifier@81588b20 to the database java.sql.SQLException: Can't call commit when autocommit=true 我目前使用MySQL作为数据库。如

WSO2 API管理器在添加API时引发以下错误:

[2013-08-08 16:39:00,062] ERROR - ApiMgtDAO Error while adding the API: org.wso2.carbon.apimgt.api.model.APIIdentifier@81588b20 to the database
java.sql.SQLException: Can't call commit when autocommit=true

我目前使用MySQL作为数据库。如何解决此问题?

在wso2am-1.8.0/repository/conf/datasources/master-datasources.xml中向数据源添加'relaxAutoCommit=true'参数应该可以解决此问题

解决方案与这里描述的相同:。太好了。你能在这里回答这个问题吗。这样这个问题就不会被归入未回答的范畴。谢谢!