I am getting the error statement Failed to load driver
Check that the driver class name is not oracle.jdbc.OracleDriver (instead of oracle.jdbc.driver.OracleDriver!)
Also, it is a very bad idea to consume an exception like this -
At the very least, print the stack trace, or log the exception keeping all the information provided with it. In many cases, it would be better to let the exception propagate to the calling code, and let the calling code handle it in any way it sees fit.
HTH
[ November 29, 2004: Message edited by: Sonny Gill ]