Re: Can anyone tell why my program hangs
Hi,
Connector/J doesn't do anything with the query, other than sending it to the server and process the response. The result you are getting in workbench should be the same in your Java test.
From what I see, your code should end gracefully. You are capturing all the exceptions thrown by the connection or statement and printing the error message and stack traces, but you are not re-throwing the exception, so your program should succeed.
Can you provide more details if this is not the case?
Subject
Written By
Posted
December 20, 2017 01:54AM
Re: Can anyone tell why my program hangs
January 04, 2018 10:04AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.