简体   繁体   中英

how to use procedure call in Apache Nifi ExecuteSQL processor (with both in and out parameter)

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

Not with ExecuteSQL, but with ExecuteProcess you could run a command-line utility like sqlplus, here's an example of someone who got that working:

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

Also the post hints at possibly using ExecuteScript to achieve this, I have a blog post that shows the basic setup, although you'd be looking to use a CallableStatement at that point: http://funnifi.blogspot.com/2016/04/sql-in-nifi-with-executescript.html

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM