0

Need to capture a procedure's DBMS_OUTPUT.PUT_LINE which is executed within a loop reading a cursor. Is this possible wit new ODP.Net Managed assembly ?

Apologize, I did not mention earliear, the Net call is a synchronous call. Will DBMS_OUTPUT be captured by OracleInfoMessageEventHandler ?

TonyP
  • 5,655
  • 13
  • 60
  • 94

1 Answers1

1

If the ODP.Net is running with the same Oracle session as the DBMS_OUTPUT.PUT_LINE calls then it can call DBMS_OUTPUT.GET_LINE (or GET_LINES) to retrieve the messages from the buffer. Otherwise no.

Tony Andrews
  • 129,880
  • 21
  • 220
  • 259