im currently getting this error when i run my programs query,
java.sql.SQLException: Column count doesn't match value count at row 1
but i dont know why , all my values are there and match up. this is the code were i do my sql statement.
c = DriverManager.getConnection( url, username, password );
String selectStatement = "INSERT INTO entry ( id, name, title, note) VALUES (?),(?),(?),(?)";
PreparedStatement prepStmt = (PreparedStatement) c.prepareStatement(selectStatement);
prepStmt.setInt(1, idSeed++);
prepStmt.setString(2, name2);
prepStmt.setString(3, title2);
prepStmt.setString(4, note2);
prepStmt.executeUpdate();