con.setAutoCommit(false);
cstmt = con.prepareCall("{?=call F_Dtyb[(?)]}");
cstmt.registerOutParameter(1,java.sql.Types.VARCHAR);
cstmt.setString(2, Condition);
cstmt.execute();
String str = cstmt.getString(1);报错
java.sql.SQLException: 索引中丢失 IN 或 OUT 参数:: 2
java.sql.SQLException: ORA-06550: 第 1 行, 第 19 列:
PLS-00103: 出现符号 "["在需要下列之一时:
. ( * @ % & = - + ; < / > at
in is mod remainder not rem <an exponent (**)> <> or != or ~=
>= <= <> and or like LIKE2_ LIKE4_ LIKEC_ between || multiset
member SUBMULTISET_
过程在pl/sql下测试没错
cstmt = con.prepareCall("{?=call F_Dtyb[(?)]}");
cstmt.registerOutParameter(1,java.sql.Types.VARCHAR);
cstmt.setString(2, Condition);
cstmt.execute();
String str = cstmt.getString(1);报错
java.sql.SQLException: 索引中丢失 IN 或 OUT 参数:: 2
java.sql.SQLException: ORA-06550: 第 1 行, 第 19 列:
PLS-00103: 出现符号 "["在需要下列之一时:
. ( * @ % & = - + ; < / > at
in is mod remainder not rem <an exponent (**)> <> or != or ~=
>= <= <> and or like LIKE2_ LIKE4_ LIKEC_ between || multiset
member SUBMULTISET_
过程在pl/sql下测试没错
正确