Copy link to clipboard
Copied
I am running a JSP application on CF10 and trying to connect to an Oracle 11g data source. I cannot find any information or examples on how this might be done. Any info on how I can do this would be greatly appreciated. I have tried the the following but receive an error.
Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:orcl","username","password");
root cause
javax.servlet.ServletException: java.sql.SQLException: No suitable driver found for jdbc:oracle:thin:@localhost:1521:orcl
Thanks
Have something to add?