I have:
String query = \"INSERT INTO Basestations VALUES(?, ?, ?, ?, ?, ?, ?,\" + \"?, ?, ?, ?, ?, ?, ?, ?)\"; PreparedStateme
The main error is here:
// incorrect prep.executeUpdate(query); // correct prep.executeUpdate();
But please try to put your SQL in the following form:
UPDATE table_name(field1, field2, field3) VALUES(?, ? ,?)
This will prevent your code from breaking if there is an update to the table.