Problems with Oracle JDBC driver registering
560749Feb 8 2007 — edited Feb 8 2007Hello,
I have got the following problem:
The statement DriverManager.registerDriver (new oracle.jdbc.driver.OracleDriver());
throws permanently the following error message: oracle can not be resolved to a type
Have anybody an idea?
Regards
Börtecin
import java.sql.*;
public class TryGridBagLayout extends JFrame implements WindowListener
{
private static final long serialVersionUID = 1L;
public TryGridBagLayout()
{
super("PNVE");
createGui();
}
public static void main(String[] args) throws SQLException
{
new TryGridBagLayout();
DriverManager.registerDriver (new oracle.jdbc.driver.OracleDriver());
.
.
}
}