0

如何在 Apache Nifi ExecuteSQL 处理器(带有 in 和 out 参数)中使用过程调用专门用于说出参数。

4

1 回答 1

2

不是使用 ExecuteSQL,而是使用 ExecuteProcess,您可以运行像 sqlplus 这样的命令行实用程序,下面是一个可以运行的示例:

https://community.hortonworks.com/questions/26170/does-executesql-processor-allow-to-execute-stored.html

该帖子还暗示可能使用 ExecuteScript 来实现这一点,我有一篇博客文章显示了基本设置,尽管您当时希望使用 CallableStatement:http: //funnifi.blogspot.com/2016/04 /sql-in-nifi-with-executescript.html

于 2016-04-08T20:28:01.983 回答