I have:
String query = \"INSERT INTO Basestations VALUES(?, ?, ?, ?, ?, ?, ?,\" + \"?, ?, ?, ?, ?, ?, ?, ?)\"; PreparedStateme
You're passing an string representing an invalid SQL statement to the executeUpdate() method when you don't need to. Try just doing prep.executeUpdate();.
executeUpdate()
prep.executeUpdate();