DriverManager.registerDriver(....) doesnt work
I have a javabean which is called from webforms on a when-button-pressed trigger. The javabean works fine, except when it reaches a point in the code where i try to load the oracle jdbc driver:
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver())
when it hits this line, the program just hangs there, no error messages of any kind. Plus, I have tried running the same code in a standalone java application, and it works just fine.
If you have experienced this, or know why this might be happening, please let me know, your help is appreciated.