Skip to content
Advertisement

Java sql error when trying to update database

I am having a sql syntax issue when I am trying to update my databse through my update method which is trigured by a button

here is the button code

The update method code

And the error

enter image description here

Advertisement

Answer

You missed the commas in the UPDATE statement. It should look like:

User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement