The class runs without exception, but the values 55 and CD Player do not appear in the Access table Customer1 after I run the class. Thanks for your help.
Nick
package be314;
import java.sql.*;
public class TestUpdate {
public static void main (String args []) {
try {
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection c = DriverManager.getConnection(
"jdbc
dbc:Music");
Statement s = c.createStatement();
s.executeUpdate ("INSERT INTO Customer1 VALUES (55, 'CD Player')");
System.exit(0);
} catch (SQLException bb) {
System.out.println(bb);
System.exit(0);
} catch (ClassNotFoundException cc) {
System.out.println(cc);
System.exit(0);
}
}
}