无法从MySQL Compose DB获取last_insert_id()

时间:2017-11-06 17:08:15

标签: java mysql ibm-cloud spring-batch compose

我的spring-batch应用程序在尝试获取" last_insert_id()"时会生成以下错误来自IBM bluemix所支持的Compose for MySQL数据库:

org.springframework.dao.DataAccessResourceFailureException: Could not obtain last_insert_id(); nested exception is java.sql.SQLException: The table does not comply with the requirements by an external plugin.] with root cause

java.sql.SQLException: The table does not comply with the requirements by an external plugin.

0 个答案:

没有答案