Tuesday, March 6, 2018

Printing the DBMS_OUTPUT.PUT_LINE output from oracle to System.out in Java

Often we need to debug a Oracle stored procedure which is called from Java. In that case, it is helpful to log the DBMS_OUTPUT.put_line from Java using JDBC driver.
The below link guides a way to retrieve DBMS_OUTPUT.put_line from JDBC:

https://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:45027262935845

No comments:

How to do Sonar scan for Java Maven Project

 Below are the steps to run Sonar o Maven based Java Project 1. Install SonarQube server 2. Add below pluin dependency in application pom.xm...