Exception Handling
Exception Handling
When I run one of the JDBC_ExecPrep* functions, and it returns a result code of -1, how do I get more information about the root cause of the exception? Can we call the Java getMessage function from our program where we're calling the JDBCR4 subprocedure?
-
- Site Admin
- Posts: 872
- Joined: Sun Jul 04, 2021 5:12 am
Re: Exception Handling
There should be a message in the job log. You'll want to look at the details of the message -- it should be an SQLException, and the details should tell you what caused the exception.
Re: Exception Handling
Thanks. I'll look into it.