Menu

checking the output msg from dbms_output

jiniduck
2005-08-10
2013-04-25
  • jiniduck

    jiniduck - 2005-08-10

    Is there a way to check the output msg done by dbms_output.put_line('bababa')?

    Thanks,

    jini

     
    • Sujit Pal

      Sujit Pal - 2005-12-17

      Hi jiniduck,

      No, none that I am aware of, but I haven't used Oracle in a while, and I dont have an Oracle installation handy to try it out.

      However, if you can capture the output of dbms_output using JDBC, there should be a way of doing something similar using this too.

      One way (and this is not currently supported) would be to configure dbms_output to send the results to a file and have a test type where the contents of the file are matched with a specified expected string.

      If you are unable to figure out how to get the dbms_output using JDBC, then this is probably a good feature request to put in for the next version.

      -sujit

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.