0

我有基于 maven 的项目,我尝试使用 sql-maven-plugin 来设置/拆除数据库以进行系统测试。我放入了 sqlCommand 元素:

CALL SOME_STORED_PROC('SYSTEST')

但是,maven 构建在此 SQL 上失败,并出现以下异常:

org.apache.maven.lifecycle.LifecycleExecutionException: ERROR: Function 'SOME_STORED_PROC(UNKNOWN)' does not exist Unable to identify a function that satisfies the given argument types You may need to add explicit typecasts

我怀疑存储过程的参数需要以某种特殊方式进行转义。我找不到任何文档/示例。

有什么想法吗?

阿维亚德

4

1 回答 1

0

存储过程的参数需要双引号。这实际上帮助了这种情况

于 2011-04-11T09:16:30.990 回答