hi all,
i am calling a sql proc through a java code. this sql proc outputs a reference cursor and a rowcount to the records in that cursor. the problem arises here as to calculate row count i need to execute a loop which brings counter in reference cursor to end so when through java this proc is called it skips the record set since counter is in the end and result only rowcount. if i comment out the loop in which rowcount is calculated i get the record set but not the count. i would be obliged if someone could propose a sol to this by either change in sql or java proc.
thanks
No one has replied yet! Why not be the first?
Sign in or Join us (it's free).