ERROR CODE 0
843854Oct 18 2002 — edited Oct 18 2002Every time i try to insert values in an Microsoft ACCESS Database y get an SQLException where it says that the error code is 0 and the Message that appears is: "General"....
try
{
conexion =DriverManager.getConnection("jdbc:odbc:Base","","");
sentencia = conexion.createStatement();
sentencia.executeUpdate("INSERT INTO PRUEBA " +
"VALUES (2000, 'Jose','Torres',16987311)");
}
catch(SQLException e)
{
System.out.println(e.getMessage());
System.out.println(e.getErrorCode());
System.out.println(e.getSQLState());
}
Can anyone help me out