• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JDBC connection

 
Ravi Pati
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am new. Please let me know the solution


Connecting to a selected database...
java.sql.SQLException: No suitable driver found for jdbc:ORACLE:thin:@192.168.0.78:1521:Oracle
at java.sql.DriverManager.getConnection(DriverManager.java:596)
at java.sql.DriverManager.getConnection(DriverManager.java:215)
at jdbcpkg.JdbcExample.main(JdbcExample.java:42)

Thanks
Ravi
 
Rob Spoor
Sheriff
Pie
Posts: 20744
68
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Load the Oracle driver class. And turn the "ORACLE" into lowercase.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic