You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
luting (Bug 54048):
The current parameter types in jdbc request only rely only on java.sql.Types.
I suggest as as enhancement to increase the types.
The improvement is necessary because sometimes,the output parameter is not the types in java.sql.Types.Maybe a cursor or others.
Here is an example:
Stored Procedure :
create or replace procedure RK_JSCX
(
OUTTABLE out sys_refcursor,
OUTINFO out varchar2
)
as
begin
open OUTTABLE for select PONUM,ITEMNUM,DESCRIPTION,CSTM_MOD,ORDERQTY,REQUESTEDBY from RECMAT;
OUTINFO:=1;
exception
when no_data_found then
OUTINFO :=2;
rollback;
end RK_JSCX;
my sql query in jmeter :
declare
outinfo varchar2(20);
outtable sys_refcursor;
begin
{call RK_JSCX(?,?)};
end;
and what's type for my first output parameter?
OS: All
Resolution: WORKSFORME
The text was updated successfully, but these errors were encountered:
SQL Query : call RK_JSCX(?,?)
Parameter values : OUT, OUT
Parameter types : OUT -10,OUT VARCHAR
-10 being the int value of OracleTypes.CURSOR
Variable names: cursor, outInfo
Names are what you want
JMeter allows using more types than java.sql.Types constantes, in this case instead of using Constant names, you use integer values of constants.
luting (Bug 54048):
The current parameter types in jdbc request only rely only on java.sql.Types.
I suggest as as enhancement to increase the types.
The improvement is necessary because sometimes,the output parameter is not the types in java.sql.Types.Maybe a cursor or others.
Here is an example:
Stored Procedure :
create or replace procedure RK_JSCX
(
OUTTABLE out sys_refcursor,
OUTINFO out varchar2
)
as
begin
open OUTTABLE for select PONUM,ITEMNUM,DESCRIPTION,CSTM_MOD,ORDERQTY,REQUESTEDBY from RECMAT;
OUTINFO:=1;
exception
when no_data_found then
OUTINFO :=2;
rollback;
end RK_JSCX;
my sql query in jmeter :
declare
outinfo varchar2(20);
outtable sys_refcursor;
begin
{call RK_JSCX(?,?)};
end;
and what's type for my first output parameter?
OS: All
Resolution: WORKSFORME
The text was updated successfully, but these errors were encountered: