这是代码:
<小时/>
On top of the question you can see the code.
This is the first method (cell_data()).It's got the oracle db cell value.
I want to pass the cell_data() return value to PUTSuccessful_2() method.
Always display the below result.
但结果是这样的:更新的列单元格:null
我正在使用 Maven 测试来运行此代码。如果我添加一个主方法数据库值是正确的。
**This is the result**
Updated column cell: null
最佳答案
这里有两种可能性。 1. 你遇到了异常(exception)。 catch block 内的 Log 语句可以证明这一点。 2.表中M150_DESCRIPTION列为空
关于java - 无法在两个方法内传递 try catch block 返回值,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59132485/